lalithadevi commited on
Commit
413097a
1 Parent(s): 915a55f

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -2,4 +2,5 @@ FROM python:3.9-slim
2
  WORKDIR /webapp
3
  COPY . .
4
  RUN pip install --no-cache-dir -r requirements.txt
5
- CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
 
 
2
  WORKDIR /webapp
3
  COPY . .
4
  RUN pip install --no-cache-dir -r requirements.txt
5
+ CMD ["gunicorn", "app:app", "--timeout", "120", "--workers=3", "--threads=3", "--worker-connections=1000"]
6
+ EXPOSE 7860