Update Dockerfile
Browse files- Dockerfile +1 -6
Dockerfile
CHANGED
|
@@ -52,12 +52,7 @@ 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",
|
| 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
|
| 63 |
# from your main Flask application file (your_app.py):
|
|
|
|
| 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", "--timeout", "300", "--bind", "0.0.0.0:7860", "flask_Character:app"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 56 |
# Important Note:
|
| 57 |
# Before building your Docker image, make sure to remove the following block
|
| 58 |
# from your main Flask application file (your_app.py):
|