Update Dockerfile
Browse files- Dockerfile +0 -6
Dockerfile
CHANGED
|
@@ -19,12 +19,6 @@ WORKDIR /app
|
|
| 19 |
RUN pip install --no-cache-dir --upgrade pip setuptools wheel packaging
|
| 20 |
|
| 21 |
# Install optimized CPU-only PyTorch stack
|
| 22 |
-
RUN pip install --no-cache-dir \
|
| 23 |
-
"numpy<2" \
|
| 24 |
-
torch==2.1.2+cpu \
|
| 25 |
-
torchvision==0.16.2+cpu \
|
| 26 |
-
torchaudio==2.1.2+cpu \
|
| 27 |
-
--index-url https://download.pytorch.org/whl/cpu
|
| 28 |
|
| 29 |
# Copy requirements and install with special handling
|
| 30 |
COPY requirements.txt .
|
|
|
|
| 19 |
RUN pip install --no-cache-dir --upgrade pip setuptools wheel packaging
|
| 20 |
|
| 21 |
# Install optimized CPU-only PyTorch stack
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 22 |
|
| 23 |
# Copy requirements and install with special handling
|
| 24 |
COPY requirements.txt .
|