Pamudu13 commited on
Commit
111eaac
·
verified ·
1 Parent(s): 01b46c9

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -21,5 +21,6 @@ ENV FLASK_APP=app.py
21
  ENV FLASK_RUN_HOST=0.0.0.0
22
  ENV FLASK_RUN_PORT=5000
23
 
24
- # Run the app using Gunicorn
 
25
  CMD ["gunicorn", "-b", "0.0.0.0:5000", "app:app"]
 
21
  ENV FLASK_RUN_HOST=0.0.0.0
22
  ENV FLASK_RUN_PORT=5000
23
 
24
+ # Hugging Face requires `flask` to run with specific configurations:
25
+ # To run Flask via HuggingFace, you'll need `gunicorn` to be used as below:
26
  CMD ["gunicorn", "-b", "0.0.0.0:5000", "app:app"]