PYAE1994 commited on
Commit
2c36fe2
·
verified ·
1 Parent(s): 7840e19

Use uv for faster install

Browse files
Files changed (1) hide show
  1. Dockerfile +7 -1
Dockerfile CHANGED
@@ -5,8 +5,14 @@ ENV PORT=7860
5
 
6
  WORKDIR /app
7
 
 
 
 
 
8
  COPY requirements.txt .
9
- RUN pip install --no-cache-dir -r requirements.txt
 
 
10
 
11
  EXPOSE 7860
12
 
 
5
 
6
  WORKDIR /app
7
 
8
+ # Install uv
9
+ RUN pip install uv
10
+
11
+ # Copy requirements
12
  COPY requirements.txt .
13
+
14
+ # Install with uv (faster)
15
+ RUN uv pip install --system -r requirements.txt
16
 
17
  EXPOSE 7860
18