a few docker-related fixes

This commit is contained in:
2024-07-26 19:11:26 +02:00
parent 2736a89f70
commit 3fa689fd16
6 changed files with 34 additions and 33 deletions

View File

@@ -14,4 +14,4 @@ EXPOSE 8000
ENV NUM_WORKERS=1
ENV OSM_CACHE_DIR=/cache
CMD ["fastapi", "run", "src/main.py", "--port 8000", "--workers $NUM_WORKERS"]
CMD fastapi run src/main.py --port 8000 --workers $NUM_WORKERS