maulerr commited on
Commit
685e373
1 Parent(s): 2f438e6

Flask modification

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -1
Dockerfile CHANGED
@@ -8,4 +8,7 @@ RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
8
 
9
  COPY . .
10
 
11
- CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]
 
 
 
 
8
 
9
  COPY . .
10
 
11
+ # Set the FLASK_APP environment variable
12
+ ENV FLASK_APP=app
13
+
14
+ CMD ["flask", "run", "--host", "0.0.0.0", "--port", "7860"]