Spaces:
Running
Running
Upload Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
@@ -28,6 +28,6 @@ COPY . .
|
|
28 |
EXPOSE 8080
|
29 |
|
30 |
# Define the command to run the application using Gunicorn
|
31 |
-
#
|
32 |
-
# Use shell form for CMD
|
33 |
-
CMD gunicorn app:app --bind 0.0.0.0
|
|
|
28 |
EXPOSE 8080
|
29 |
|
30 |
# Define the command to run the application using Gunicorn
|
31 |
+
# Bind to the standard Hugging Face Spaces port 7860 explicitly
|
32 |
+
# Use shell form for CMD
|
33 |
+
CMD gunicorn app:app --bind 0.0.0.0:7860 --workers 1 --timeout 120
|