gosign commited on
Commit
3b89bb0
·
verified ·
1 Parent(s): 1aa8801

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -38,5 +38,5 @@ USER flaskuser
38
  # Expose the port your Flask app will run on
39
  EXPOSE 7860
40
 
41
- # Run the Flask app
42
- CMD ["python", "app.py"]
 
38
  # Expose the port your Flask app will run on
39
  EXPOSE 7860
40
 
41
+ # Run the Flask app using gunicorn with an infinite request timeout
42
+ CMD ["gunicorn", "--bind", "0.0.0.0:7860", "--timeout", "0", "app:app"]