Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -11,8 +11,8 @@ COPY requirements.txt .
|
|
| 11 |
|
| 12 |
# Install any needed packages specified in requirements.txt
|
| 13 |
# Using --no-cache-dir to reduce image size
|
| 14 |
-
#
|
| 15 |
-
RUN pip install --no-cache-dir -r requirements.txt --index-url https://download.pytorch.org/whl/cpu
|
| 16 |
|
| 17 |
# Copy the rest of your application's code into the container
|
| 18 |
# This includes app.py, your trained model (.pth), and the scaler (.pkl)
|
|
|
|
| 11 |
|
| 12 |
# Install any needed packages specified in requirements.txt
|
| 13 |
# Using --no-cache-dir to reduce image size
|
| 14 |
+
# Installs packages from the standard PyPI and also looks in the PyTorch index for torch
|
| 15 |
+
RUN pip install --no-cache-dir -r requirements.txt --extra-index-url https://download.pytorch.org/whl/cpu
|
| 16 |
|
| 17 |
# Copy the rest of your application's code into the container
|
| 18 |
# This includes app.py, your trained model (.pth), and the scaler (.pkl)
|