don0726 commited on
Commit
a9a8a30
·
verified ·
1 Parent(s): 58fc2d8

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -1
Dockerfile CHANGED
@@ -2,10 +2,15 @@ FROM python:3.10
2
 
3
  WORKDIR /app
4
 
5
- # 🔥 ADD THIS LINE (IMPORTANT)
6
  ENV COQUI_TOS_AGREED=1
7
 
8
  COPY requirements.txt .
 
 
 
 
 
9
  RUN pip install --no-cache-dir -r requirements.txt
10
 
11
  COPY . .
 
2
 
3
  WORKDIR /app
4
 
5
+ # Accept license
6
  ENV COQUI_TOS_AGREED=1
7
 
8
  COPY requirements.txt .
9
+
10
+ # 🔥 Upgrade pip first (important)
11
+ RUN pip install --upgrade pip
12
+
13
+ # Install dependencies
14
  RUN pip install --no-cache-dir -r requirements.txt
15
 
16
  COPY . .