mou3az commited on
Commit
511b154
1 Parent(s): 93fa61c

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -8,7 +8,7 @@ RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
8
 
9
  COPY . .
10
 
11
- RUN mkdir -p /.cache/huggingface/hub \
12
- && chmod -R 777 /.cache/huggingface
13
 
14
- CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
 
 
8
 
9
  COPY . .
10
 
11
+ CMD ["gunicorn","-b", "0.0.0.0:7860","app:app"]
 
12
 
13
+ RUN mkdir -p /.cache/huggingface/hub \
14
+ && chmod -R 777 /.cache/huggingface