File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -157879,9 +157879,12 @@ class DockerRepository {
157879157879 // Build the image with explicit tagging
157880157880 const stream = await this.docker.buildImage({
157881157881 context: this.dockerDir,
157882- src: ['Dockerfile', 'requirements.txt', 'main.py']
157882+ src: ['Dockerfile', 'requirements.txt', 'main.py'],
157883157883 }, {
157884157884 t: 'fastapi-app:latest',
157885+ cpusetcpus: 4,
157886+ memory: 16384,
157887+ memswap: 16384,
157885157888 dockerfile: 'Dockerfile',
157886157889 buildargs: {},
157887157890 nocache: true
@@ -157929,7 +157932,8 @@ class DockerRepository {
157929157932 PortBindings: {
157930157933 '8000/tcp': [{ HostPort: '8000' }]
157931157934 }
157932- }
157935+ },
157936+ name: 'fastapi-app'
157933157937 });
157934157938 (0, logger_1.logDebugInfo)('🐳 🟡 Starting container...');
157935157939 await container.start();
You can’t perform that action at this time.
0 commit comments