lalithadevi commited on
Commit
87a08f4
1 Parent(s): 127d8ad

Update Dockerfile

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