StevenLe456 commited on
Commit
3b91849
·
1 Parent(s): 1232638

Changing from uvicorn to 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 ["uvicorn", "app:server", "--host", "0.0.0.0", "--port", "7860"]
 
8
 
9
  COPY . .
10
 
11
+ CMD ["gunicorn", "app:server", "--host", "0.0.0.0", "--port", "7860"]
requirements.txt CHANGED
@@ -8,6 +8,7 @@ dash-html-components==2.0.0
8
  dash-table==5.0.0
9
  duckdb==0.9.2
10
  Flask==3.0.2
 
11
  h11==0.14.0
12
  idna==3.6
13
  importlib-metadata==7.0.1
 
8
  dash-table==5.0.0
9
  duckdb==0.9.2
10
  Flask==3.0.2
11
+ gunicorn==21.2.0
12
  h11==0.14.0
13
  idna==3.6
14
  importlib-metadata==7.0.1