Diego Marroquin commited on
Commit
f884641
·
1 Parent(s): 60a59c1

Debugging

Browse files
Files changed (2) hide show
  1. Dockerfile +1 -2
  2. requirements.txt +1 -1
Dockerfile CHANGED
@@ -1,4 +1,3 @@
1
-
2
  FROM python:3.9.17
3
 
4
  WORKDIR /code
@@ -9,4 +8,4 @@ RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
9
 
10
  COPY . .
11
 
12
- CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
 
 
1
  FROM python:3.9.17
2
 
3
  WORKDIR /code
 
8
 
9
  COPY . .
10
 
11
+ CMD ["gunicorn", "main:app", "--bind", "0.0.0.0:7860"]
requirements.txt CHANGED
@@ -7,4 +7,4 @@ numpy==1.22.4
7
  pandas==1.5.3
8
  pymongo==4.3.3
9
  Requests==2.31.0
10
- uvicorn[standard]==0.17.*
 
7
  pandas==1.5.3
8
  pymongo==4.3.3
9
  Requests==2.31.0
10
+ gunicorn==20.1.1