Update Dockerfile
Browse files- Dockerfile +1 -6
Dockerfile
CHANGED
|
@@ -16,12 +16,7 @@ RUN pip install --no-cache-dir --upgrade pip setuptools wheel packaging
|
|
| 16 |
|
| 17 |
# Install CPU-only PyTorch first
|
| 18 |
|
| 19 |
-
# Copy requirements and install with special handling
|
| 20 |
-
COPY requirements.txt .
|
| 21 |
-
RUN pip install --no-cache-dir \
|
| 22 |
-
-r requirements.txt \
|
| 23 |
-
--find-links https://download.pytorch.org/whl/cpu \
|
| 24 |
-
--extra-index-url https://pypi.org/simple && \
|
| 25 |
|
| 26 |
# Copy application code
|
| 27 |
COPY . .
|
|
|
|
| 16 |
|
| 17 |
# Install CPU-only PyTorch first
|
| 18 |
|
| 19 |
+
# Copy requirements and install with special handling
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 20 |
|
| 21 |
# Copy application code
|
| 22 |
COPY . .
|