Skip to content

Commit 5c7c0de

Browse files
apartsinclaude
andcommitted
Fix Dockerfile: preserve src/python directory structure for pyproject.toml
pyproject.toml has packages.find.where = ['src/python'], so the Docker build context needs src/python/ to exist. Previously COPY flattened it. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 230cae7 commit 5c7c0de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
FROM python:3.12-slim
22
WORKDIR /app
3-
COPY src/python/ ./
43
COPY pyproject.toml ./
4+
COPY src/python/ ./src/python/
55
RUN pip install . && pip install pyyaml>=6.0
66
EXPOSE 8080
77
ENTRYPOINT ["python", "-m", "modelmesh.proxy"]

0 commit comments

Comments
 (0)