We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 120a709 commit cc55c69Copy full SHA for cc55c69
Dockerfile
@@ -27,6 +27,8 @@ RUN chmod o+wrX .
27
# Tell uv sync to install python in a known location so we can copy it out later
28
ENV UV_PYTHON_INSTALL_DIR=/python
29
30
+RUN uv add debugpy
31
+
32
# Sync the project without its dev dependencies
33
RUN --mount=type=cache,target=/root/.cache/uv \
34
uv sync --locked --no-editable --no-dev
@@ -61,7 +63,8 @@ ENV MPLCONFIGDIR=/tmp/matplotlib
61
63
COPY --from=build /python /python
62
64
65
# Copy the environment, but not the source code
-COPY --from=build /app/.venv /app/.venv
66
+COPY --chown=1000:1000 --from=build /app/.venv /app/.venv
67
+RUN chmod o+wrX /app/.venv
68
ENV PATH=/app/.venv/bin:$PATH
69
70
# Add copy of blueapi source to container for debugging
0 commit comments