alphg commited on
Commit
65f59db
·
verified ·
1 Parent(s): adb1220

Upload 2 files

Browse files
Files changed (2) hide show
  1. Dockerfile +13 -0
  2. requirements.txt +9 -0
Dockerfile ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.8
2
+
3
+ WORKDIR /app
4
+ COPY . /app
5
+
6
+ RUN pip install --trusted-host pypi.python.org -r requirements.txt
7
+ RUN apt-get update && apt-get install -y libreoffice && apt-get install -y ffmpeg
8
+
9
+ EXPOSE 7860
10
+
11
+ ENV NAME World
12
+
13
+ CMD ["python", "api.py"]
requirements.txt ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ Flask
2
+ libtorrent
3
+ pdf2docx
4
+ rarfile
5
+ rembg
6
+ pillow
7
+ waitress
8
+ flask-cors
9
+ openai-whisper