fix uv error
Browse files- Dockerfile +2 -4
Dockerfile
CHANGED
@@ -23,10 +23,8 @@ RUN mkdir -p /.cache/uv
|
|
23 |
COPY pyproject.toml .
|
24 |
|
25 |
# Install Python dependencies using uv sync based on pyproject.toml
|
26 |
-
|
27 |
-
|
28 |
-
RUN uv sync --system && \
|
29 |
-
rm -rf /.cache/uv/*
|
30 |
|
31 |
# --- Non-Root User Setup ---
|
32 |
# Create a non-root user 'user' with ID 1000 and create their home directory
|
|
|
23 |
COPY pyproject.toml .
|
24 |
|
25 |
# Install Python dependencies using uv sync based on pyproject.toml
|
26 |
+
RUN uv sync && \
|
27 |
+
rm -rf /.uv
|
|
|
|
|
28 |
|
29 |
# --- Non-Root User Setup ---
|
30 |
# Create a non-root user 'user' with ID 1000 and create their home directory
|