Skip to content

Commit f3505bb

Browse files
EstrellaXDclaudehappy-otter
committed
fix(docker): remove --no-install-project flag to fix uvicorn import error
The --no-install-project flag causes uv to skip installing dependencies when package = false is set in pyproject.toml, resulting in ModuleNotFoundError for uvicorn at container startup. Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <noreply@anthropic.com> Co-Authored-By: Happy <yesreply@happy.engineering>
1 parent 8694434 commit f3505bb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ENV UV_LINK_MODE=copy
88

99
# Install dependencies (cached layer)
1010
COPY backend/pyproject.toml backend/uv.lock ./
11-
RUN uv sync --frozen --no-dev --no-install-project
11+
RUN uv sync --frozen --no-dev
1212

1313
# Copy application source
1414
COPY backend/src ./src

0 commit comments

Comments
 (0)