Ritesh-hf commited on
Commit
ed23002
1 Parent(s): a22ce9c

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -1
Dockerfile CHANGED
@@ -1,3 +1,6 @@
 
 
 
1
  # Read the doc: https://huggingface.co/docs/hub/spaces-sdks-docker
2
  # you will also find guides on how best to write your Dockerfile
3
 
@@ -13,4 +16,4 @@ COPY --chown=user ./requirements.txt requirements.txt
13
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
14
 
15
  COPY --chown=user . /app
16
- CMD ["gunicorn", "-b", "0.0.0.0:7860", "-k", "eventlet", "app:app"]
 
1
+ delete
2
+
3
+ 448 Bytes
4
  # Read the doc: https://huggingface.co/docs/hub/spaces-sdks-docker
5
  # you will also find guides on how best to write your Dockerfile
6
 
 
16
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
17
 
18
  COPY --chown=user . /app
19
+ CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]