shayan5422 commited on
Commit
3ac1943
·
verified ·
1 Parent(s): 48fb8cb

Upload Dockerfile

Browse files
Files changed (1) hide show
  1. 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
- # Gunicorn will listen on the port specified by the $PORT environment variable provided by Hugging Face Spaces.
32
- # Use shell form for CMD to allow $PORT substitution
33
- CMD gunicorn app:app --bind 0.0.0.0:$PORT --workers 1 --timeout 120
 
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