Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -24,5 +24,5 @@ RUN pip install -r requirements.txt
|
|
24 |
# Expose port 7860 for Hugging Face Spaces (default port for web apps)
|
25 |
EXPOSE 7860
|
26 |
|
27 |
-
# Command to run the application
|
28 |
-
CMD ["
|
|
|
24 |
# Expose port 7860 for Hugging Face Spaces (default port for web apps)
|
25 |
EXPOSE 7860
|
26 |
|
27 |
+
# Command to run the application using Gunicorn
|
28 |
+
CMD ["gunicorn", "-b", "0.0.0.0:7860", "app:app"]
|