Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +2 -3
Dockerfile
CHANGED
@@ -16,6 +16,5 @@ RUN pip install --no-cache-dir -r requirements.txt
|
|
16 |
# Expose the port your app runs on
|
17 |
EXPOSE 7860
|
18 |
|
19 |
-
#
|
20 |
-
CMD ["gunicorn", "-w", "4", "-b", "0.0.0.0:7860", "app:app"]
|
21 |
-
|
|
|
16 |
# Expose the port your app runs on
|
17 |
EXPOSE 7860
|
18 |
|
19 |
+
# Run the application with Gunicorn and increase the worker timeout to 30 seconds
|
20 |
+
CMD ["gunicorn", "-w", "4", "--timeout", "30", "-b", "0.0.0.0:7860", "app:app"]
|
|