sanch1tx commited on
Commit
83666b8
·
verified ·
1 Parent(s): 868121a

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -1,6 +1,6 @@
1
  FROM python:3.11-slim
2
  WORKDIR /app
3
- RUN pip install --no-cache-dir flask
4
  COPY . .
5
  EXPOSE 7860
6
- CMD ["python","app.py"]
 
1
  FROM python:3.11-slim
2
  WORKDIR /app
3
+ RUN pip install --no-cache-dir flask gunicorn
4
  COPY . .
5
  EXPOSE 7860
6
+ CMD ["gunicorn","-b","0.0.0.0:7860","app:app"]