Skip to content

Commit 0db65d8

Browse files
authored
Merge pull request #3 from Majixs/dev-000002
dev-000002: another cmd try
2 parents 59545d6 + 572867c commit 0db65d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,4 @@ COPY ./app /app/app
4040
RUN --mount=type=cache,target=/root/.cache/uv \
4141
uv sync
4242

43-
CMD ["fastapi", "run", "--workers", "4", "app/main.py", "--host", "0.0.0.0", "--port", "10000"]
43+
CMD ["sh", "-c", "uvicorn app.main:app --host 0.0.0.0 --port ${PORT:-10000}"]

0 commit comments

Comments
 (0)