abhicodes commited on
Commit
0aa2b53
·
1 Parent(s): ef73b89

Upload 2 files

Browse files
Files changed (2) hide show
  1. Dockerfile +13 -0
  2. requirements.txt +5 -0
Dockerfile ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.9
2
+
3
+ WORKDIR /code
4
+
5
+ COPY ./requirements.txt /code/requirements.txt
6
+
7
+ RUN pip install --no-cache-dir --upgrade -r requirements.txt
8
+
9
+ RUN pip install -U g4f
10
+
11
+ COPY . /code
12
+
13
+ CMD ["gunicorn", "app:app", "-b", "0.0.0.0:7860"]
requirements.txt ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ flask
2
+ flask-cors
3
+ gunicorn
4
+ Jinja2
5
+ brotli