From cda7fc3fda24e57fbb8bec7e8967b656d904120c Mon Sep 17 00:00:00 2001 From: Zanie Blue Date: Mon, 17 Nov 2025 13:17:27 -0600 Subject: [PATCH] Revert "Fix CMD path in FastAPI Dockerfile (#16701)" (#16752) This reverts commit 92230ba67900c3bcd140740000460c974af44a5d from #16701 See https://github.com/astral-sh/uv/pull/16701#issuecomment-3538541379 --- docs/guides/integration/fastapi.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guides/integration/fastapi.md b/docs/guides/integration/fastapi.md index 868553684..eeebba532 100644 --- a/docs/guides/integration/fastapi.md +++ b/docs/guides/integration/fastapi.md @@ -113,7 +113,7 @@ WORKDIR /app RUN uv sync --frozen --no-cache # Run the application. -CMD ["/app/.venv/bin/fastapi", "run", "main.py", "--port", "80", "--host", "0.0.0.0"] +CMD ["/app/.venv/bin/fastapi", "run", "app/main.py", "--port", "80", "--host", "0.0.0.0"] ``` Build the Docker image with: