Spaces:
Sleeping
Sleeping
chore: fix pip install command using extra-index-url for PyTorch
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
|
@@ -18,7 +18,7 @@ RUN useradd -m -u 1000 user
|
|
| 18 |
|
| 19 |
# Install Python dependencies as root
|
| 20 |
COPY requirements.txt .
|
| 21 |
-
RUN pip install --no-cache-dir "torch>=2.6.0" --index-url https://download.pytorch.org/whl/cpu
|
| 22 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 23 |
|
| 24 |
# Copy application files and change ownership to the non-root user
|
|
|
|
| 18 |
|
| 19 |
# Install Python dependencies as root
|
| 20 |
COPY requirements.txt .
|
| 21 |
+
RUN pip install --no-cache-dir "torch>=2.6.0" --extra-index-url https://download.pytorch.org/whl/cpu
|
| 22 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 23 |
|
| 24 |
# Copy application files and change ownership to the non-root user
|