SharryOG commited on
Commit
a501fc8
·
verified ·
1 Parent(s): 753a5f1

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -1
Dockerfile CHANGED
@@ -2,5 +2,7 @@ FROM python:3.11
2
  COPY . .
3
  WORKDIR /
4
  RUN pip install --no-cache-dir --upgrade -r /requirements.txt
5
- CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
6
 
 
 
 
 
2
  COPY . .
3
  WORKDIR /
4
  RUN pip install --no-cache-dir --upgrade -r /requirements.txt
 
5
 
6
+ EXPOSE 5000
7
+ ENV FLASK_APP=app.py
8
+ CMD ["flask", "run", "--host", "0.0.0.0"]