Skip to content

Commit 089c447

Browse files
committed
Rearrange uv steps of dockerfile
1 parent e555d61 commit 089c447

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
@@ -27,12 +27,12 @@ RUN chmod o+wrX .
2727
# Tell uv sync to install python in a known location so we can copy it out later
2828
ENV UV_PYTHON_INSTALL_DIR=/python
2929

30+
RUN uv add debugpy
31+
3032
# Sync the project without its dev dependencies
3133
RUN --mount=type=cache,target=/root/.cache/uv \
3234
uv sync --locked --no-editable --no-dev
3335

34-
RUN uv add debugpy
35-
3636
# The runtime stage copies the built venv into a runtime container
3737
FROM ubuntu:noble AS runtime
3838

0 commit comments

Comments
 (0)