MARI-posa commited on
Commit
e310d7f
·
1 Parent(s): 4da000e

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +15 -0
Dockerfile ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.8
2
+
3
+ # Установка зависимостей
4
+ RUN apt-get update && apt-get install -y git git-lfs ffmpeg libsm6 libxext6 cmake libgl1-mesa-glx
5
+
6
+ # Копирование кода приложения
7
+ COPY . /app
8
+
9
+ # Установка зависимостей Python
10
+ WORKDIR /app
11
+ RUN pip install -U pip
12
+ RUN pip install streamlit==1.23.1 torch==1.8.1 numpy==1.23.5 pandas==1.5.3 transformers==4.30.0
13
+
14
+ # Запуск приложения
15
+ CMD ["streamlit", "run", "stri.py"]