lalithadevi commited on
Commit
12d581b
1 Parent(s): 87a08f4

Update Dockerfile

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