Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- 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 ["
|
|
|
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"]
|