Yermek68 commited on
Commit
a3ee9f1
·
verified ·
1 Parent(s): 0e70ff4

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -7
Dockerfile CHANGED
@@ -1,19 +1,13 @@
1
  FROM python:3.9
2
 
3
- # Устанавливаем рабочую директорию
4
  WORKDIR /app
5
 
6
- # Копируем зависимости
7
  COPY requirements.txt .
8
-
9
- # Устанавливаем зависимости
10
  RUN pip install --no-cache-dir -r requirements.txt
11
 
12
- # Копируем остальной код
13
  COPY . .
14
 
15
- # Указываем порт для Hugging Face
16
  EXPOSE 7860
17
 
18
- # Запускаем FastAPI сервер через uvicorn
19
  CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
 
 
1
  FROM python:3.9
2
 
 
3
  WORKDIR /app
4
 
 
5
  COPY requirements.txt .
 
 
6
  RUN pip install --no-cache-dir -r requirements.txt
7
 
 
8
  COPY . .
9
 
 
10
  EXPOSE 7860
11
 
 
12
  CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
13
+