launch adjustments
Some checks failed
Run linting on the backend code / Build (pull_request) Failing after 28s
Run testing on the backend code / Build (pull_request) Failing after 1m28s
Build and deploy the backend to staging / Build and push image (pull_request) Successful in 2m35s
Build and deploy the backend to staging / Deploy to staging (pull_request) Successful in 17s

This commit is contained in:
2024-12-29 14:51:28 +01:00
parent 4e07c10969
commit 86187d9069
2 changed files with 5 additions and 2 deletions

View File

@@ -16,4 +16,5 @@ ENV OSM_CACHE_DIR=/cache
ENV MEMCACHED_HOST_PATH=none
ENV LOKI_URL=none
CMD ["fastapi", "src/main.py", "--port", "8000", "--workers", "$NUM_WORKERS"]
# explicitly use a string instead of an argument list to force a shell and variable expansion
CMD fastapi run src/main.py --port 8000 --workers $NUM_WORKERS