Defalt-404 commited on
Commit
9bcfea3
1 Parent(s): 8a1babb

added gunicorn

Browse files
Files changed (2) hide show
  1. Dockerfile +1 -1
  2. requirements.txt +1 -0
Dockerfile CHANGED
@@ -8,4 +8,4 @@ RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
8
 
9
  COPY . .
10
 
11
- CMD ["gunicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]
 
8
 
9
  COPY . .
10
 
11
+ CMD ["gunicorn", "-c", "gunicorn_config.py", "app:app"]
requirements.txt CHANGED
@@ -3,6 +3,7 @@ certifi==2023.7.22
3
  charset-normalizer==3.2.0
4
  click==8.1.7
5
  Flask==2.3.3
 
6
  idna==3.4
7
  itsdangerous==2.1.2
8
  Jinja2==3.1.2
 
3
  charset-normalizer==3.2.0
4
  click==8.1.7
5
  Flask==2.3.3
6
+ gunicorn==21.2.0
7
  idna==3.4
8
  itsdangerous==2.1.2
9
  Jinja2==3.1.2