aaditya commited on
Commit
bbdfd97
·
1 Parent(s): b2841f8

Add application file

Browse files
Files changed (2) hide show
  1. Dockerfile +11 -0
  2. requirements.txt +26 -0
Dockerfile CHANGED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.8
2
+
3
+ WORKDIR /app
4
+
5
+ COPY requirements.txt requirements.txt
6
+
7
+ RUN pip3 install -r requirements.txt
8
+
9
+ COPY . .
10
+
11
+ CMD [ "gunicorn", "app:app", "--bind", "0.0.0.0:7860"]
requirements.txt CHANGED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ aniso8601==9.0.1
2
+ anyio==3.6.2
3
+ asgiref==3.6.0
4
+ click==8.1.3
5
+ Flask==2.2.2
6
+ Flask-Cors==3.0.10
7
+ Flask-RESTful==0.3.9
8
+ gunicorn==20.1.0
9
+ h11==0.14.0
10
+ httptools==0.5.0
11
+ idna==3.4
12
+ importlib-metadata==6.0.0
13
+ itsdangerous==2.1.2
14
+ Jinja2==3.1.2
15
+ MarkupSafe==2.1.2
16
+ python-dotenv==0.21.1
17
+ pytz==2022.7.1
18
+ PyYAML==6.0
19
+ six==1.16.0
20
+ sniffio==1.3.0
21
+ uvicorn==0.17.6
22
+ uvloop==0.17.0
23
+ watchgod==0.8.2
24
+ websockets==10.4
25
+ Werkzeug==2.2.2
26
+ zipp==3.12.0