Mahedi Hasan Rasel commited on
Commit
a05bb3d
1 Parent(s): 4c6fd10

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -12,8 +12,8 @@ RUN pip install --upgrade pip
12
  # Install any needed packages specified in requirements.txt
13
  RUN pip install --no-cache-dir -r requirements.txt
14
 
15
- # Make port 5000 available to the world outside this container
16
- EXPOSE 5000
17
 
18
  # Run app.py when the container launches
19
- CMD [ "flask", "run","--host=0.0.0.0", "--port=8087"]
 
12
  # Install any needed packages specified in requirements.txt
13
  RUN pip install --no-cache-dir -r requirements.txt
14
 
15
+
16
+ EXPOSE 7860
17
 
18
  # Run app.py when the container launches
19
+ CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]