precison9 commited on
Commit
58f332f
·
verified ·
1 Parent(s): edd1f7e

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -1
Dockerfile CHANGED
@@ -52,7 +52,11 @@ ENV NUMBA_DISABLE_CACHE=1
52
  # - 'your_app' should be the name of your main Python file (without the .py extension).
53
  # - 'app' should be the name of your Flask application instance
54
  # (e.g., app = flask.Flask(__name__)).
55
- CMD ["gunicorn", "--workers", "4", "--bind", "0.0.0.0:7860", "flask_Character:app"]
 
 
 
 
56
 
57
  # Important Note:
58
  # Before building your Docker image, make sure to remove the following block
 
52
  # - 'your_app' should be the name of your main Python file (without the .py extension).
53
  # - 'app' should be the name of your Flask application instance
54
  # (e.g., app = flask.Flask(__name__)).
55
+ CMD ["gunicorn",
56
+ "--workers", "4",
57
+ "--timeout", "600",
58
+ "--bind", "0.0.0.0:7860",
59
+ "flask_Character:app"]
60
 
61
  # Important Note:
62
  # Before building your Docker image, make sure to remove the following block