Update Dockerfile
Browse files- Dockerfile +5 -1
Dockerfile
CHANGED
|
@@ -15,8 +15,12 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
| 15 |
WORKDIR /app
|
| 16 |
|
| 17 |
COPY requirements.txt .
|
|
|
|
| 18 |
RUN pip install --upgrade pip setuptools wheel && \
|
| 19 |
-
pip install -
|
|
|
|
|
|
|
|
|
|
| 20 |
|
| 21 |
COPY . .
|
| 22 |
|
|
|
|
| 15 |
WORKDIR /app
|
| 16 |
|
| 17 |
COPY requirements.txt .
|
| 18 |
+
|
| 19 |
RUN pip install --upgrade pip setuptools wheel && \
|
| 20 |
+
pip install --no-cache-dir \
|
| 21 |
+
torch==2.3.1 torchaudio==2.3.1 \
|
| 22 |
+
--index-url https://download.pytorch.org/whl/cpu && \
|
| 23 |
+
pip install --no-cache-dir -r requirements.txt
|
| 24 |
|
| 25 |
COPY . .
|
| 26 |
|