pvanand commited on
Commit
51b9b8f
·
verified ·
1 Parent(s): ddf2e18

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -1
Dockerfile CHANGED
@@ -24,9 +24,13 @@ RUN mkdir -p /app/ipython && chmod -R 777 /app/ipython
24
  # Create an output folder and give it all permissions
25
  RUN mkdir -p /app/output && chmod -R 2777 /app/output
26
 
 
27
  RUN curl -LsSf https://astral.sh/uv/install.sh | sh
28
 
29
- # Install any needed packages specified in requirements.txt
 
 
 
30
  RUN uv pip install --no-cache-dir -r requirements.txt
31
 
32
  # Create a non-root user
 
24
  # Create an output folder and give it all permissions
25
  RUN mkdir -p /app/output && chmod -R 2777 /app/output
26
 
27
+ # Install uv
28
  RUN curl -LsSf https://astral.sh/uv/install.sh | sh
29
 
30
+ # Add uv to PATH
31
+ ENV PATH="/root/.cargo/bin:${PATH}"
32
+
33
+ # Use uv instead of pip for installing packages
34
  RUN uv pip install --no-cache-dir -r requirements.txt
35
 
36
  # Create a non-root user