Aasher commited on
Commit
6375010
·
1 Parent(s): b83660d

fix uv error

Browse files
Files changed (1) hide show
  1. 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
- # This reads dependencies and installs them efficiently
27
- # Remove the uv cache after installation if not needed later to save space
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