Edgeev commited on
Commit
23c73dd
·
verified ·
1 Parent(s): 37356d9

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -7,10 +7,10 @@ RUN apt-get update && apt-get install -y \
7
  WORKDIR /app
8
  COPY . .
9
 
10
- # 🔧 Устанавливаем torch отдельно, CPU-only
11
  RUN pip install torch==2.1.2+cpu -f https://download.pytorch.org/whl/cpu/torch_stable.html
12
 
13
- # 🧠 Остальные зависимости — с PyPI
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