Skip to content

Commit 70e352f

Browse files
committed
Update Dockerfile
1 parent 762dc9d commit 70e352f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,12 @@ RUN --mount=type=cache,target=/root/.cache/uv \
2020
uv sync --frozen --no-dev
2121

2222
# Now copy the rest of the app
23-
COPY . .
23+
COPY uv.lock .
24+
COPY pyproject.toml .
25+
COPY tests/mock_server.py ./main.py
2426

2527
# Make sure the venv's executables are on PATH
2628
ENV PATH="/app/.venv/bin:$PATH"
2729

2830
EXPOSE 8000
29-
CMD ["uv", "run", "--frozen", "python", "tests/mock_server.py"]
31+
CMD ["uv", "run", "--frozen", "python", "main.py"]

0 commit comments

Comments
 (0)