Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -7,10 +7,10 @@ RUN apt-get update && apt-get install -y \
|
|
| 7 |
WORKDIR /app
|
| 8 |
COPY . .
|
| 9 |
|
| 10 |
-
#
|
| 11 |
RUN pip install torch==2.1.2+cpu -f https://download.pytorch.org/whl/cpu/torch_stable.html
|
| 12 |
|
| 13 |
-
#
|
| 14 |
RUN pip install -r requirements.txt
|
| 15 |
|
| 16 |
EXPOSE 7860
|
|
|
|
| 7 |
WORKDIR /app
|
| 8 |
COPY . .
|
| 9 |
|
| 10 |
+
# ✅ Установка CPU-версии torch
|
| 11 |
RUN pip install torch==2.1.2+cpu -f https://download.pytorch.org/whl/cpu/torch_stable.html
|
| 12 |
|
| 13 |
+
# ✅ Установка всех остальных зависимостей
|
| 14 |
RUN pip install -r requirements.txt
|
| 15 |
|
| 16 |
EXPOSE 7860
|