Skip to content

Commit 7ff27a6

Browse files
matrixiseclaude
andcommitted
🐳 fix: update Dockerfile for uv/pyproject.toml compatibility
- Add README.md to COPY command (required by Hatchling build backend) - Add --no-install-project flag to uv sync to install only dependencies without installing the pythonie package itself at this stage This fixes the Docker build errors: - "OSError: Readme file does not exist: README.md" - "ValueError: Unable to determine which files to ship inside the wheel" 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
1 parent fbcf96e commit 7ff27a6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ RUN --mount=type=cache,target=/var/cache/apt \
77
ack
88

99
# Copy dependency specification files
10-
COPY pyproject.toml uv.lock ./
10+
COPY pyproject.toml uv.lock README.md ./
1111

1212
RUN --mount=type=cache,target=/root/.cache \
1313
pip install -U pip uv ruff && \
14-
uv sync --group production
14+
uv sync --group production --no-install-project
1515

1616
FROM compile-stage AS tests-stage
1717

0 commit comments

Comments
 (0)