srivatsavdamaraju commited on
Commit
9496ed3
·
verified ·
1 Parent(s): 4e97aee

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -9,10 +9,10 @@ COPY ./requirements.txt /code/requirements.txt
9
 
10
  RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
11
  # Install uvicorn
12
- RUN pip install uvicorn
13
  # Install dependencies
14
  RUN pip install -r requirements.txt
15
 
16
  COPY . .
17
- ENTRYPOINT ["uvicorn", "app:app"]
18
  CMD ["--host", "0.0.0.0", "--port", "7860"]
 
9
 
10
  RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
11
  # Install uvicorn
12
+ RUN pip install gunicorn
13
  # Install dependencies
14
  RUN pip install -r requirements.txt
15
 
16
  COPY . .
17
+ ENTRYPOINT ["gunicorn", "app:app"]
18
  CMD ["--host", "0.0.0.0", "--port", "7860"]