Spaces:
Sleeping
Sleeping
EMMA commited on
Commit ·
c9ccbd2
1
Parent(s): 5aef356
Fix PyTorch CPU installation by adding extra-index-url
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
|
@@ -4,7 +4,7 @@ WORKDIR /app
|
|
| 4 |
|
| 5 |
COPY requirements.txt .
|
| 6 |
|
| 7 |
-
RUN pip install --no-cache-dir -r requirements.txt
|
| 8 |
|
| 9 |
COPY . .
|
| 10 |
|
|
|
|
| 4 |
|
| 5 |
COPY requirements.txt .
|
| 6 |
|
| 7 |
+
RUN pip install --no-cache-dir -r requirements.txt --extra-index-url https://download.pytorch.org/whl/cpu
|
| 8 |
|
| 9 |
COPY . .
|
| 10 |
|