sentimentanalyzer01 commited on
Commit
6f077b1
·
verified ·
1 Parent(s): 0d17e70

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -3
Dockerfile CHANGED
@@ -10,10 +10,13 @@ RUN apt-get update && apt-get install -y \
10
  build-essential \
11
  && rm -rf /var/lib/apt/lists/*
12
 
13
- # КРИТИЧЕСКИ ВАЖНО: сначала устанавливаем setuptools
14
- RUN pip install --no-cache-dir --upgrade pip setuptools wheel
15
 
16
- # Теперь копируем и устанавливаем остальные зависимости
 
 
 
17
  COPY requirements.txt .
18
  RUN pip install --no-cache-dir -r requirements.txt
19
 
 
10
  build-essential \
11
  && rm -rf /var/lib/apt/lists/*
12
 
13
+ # Устанавливаем pip и setuptools
14
+ RUN pip install --no-cache-dir --upgrade pip
15
 
16
+ # Сначала устанавливаем setuptools и wheel
17
+ RUN pip install --no-cache-dir setuptools wheel
18
+
19
+ # Копируем requirements.txt и устанавливаем остальное
20
  COPY requirements.txt .
21
  RUN pip install --no-cache-dir -r requirements.txt
22