We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 59545d6 + 572867c commit 0db65d8Copy full SHA for 0db65d8
backend/Dockerfile
@@ -40,4 +40,4 @@ COPY ./app /app/app
40
RUN --mount=type=cache,target=/root/.cache/uv \
41
uv sync
42
43
-CMD ["fastapi", "run", "--workers", "4", "app/main.py", "--host", "0.0.0.0", "--port", "10000"]
+CMD ["sh", "-c", "uvicorn app.main:app --host 0.0.0.0 --port ${PORT:-10000}"]
0 commit comments