devusman commited on
Commit
2267503
·
1 Parent(s): 00866c1

updated dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -26,4 +26,4 @@ EXPOSE 7860
26
  # Start the Flask app using Gunicorn.
27
  # Hugging Face Spaces automatically sets the PORT environment variable.
28
  # We bind to 0.0.0.0 and the port specified by the PORT env var, with a fallback to 7860.
29
- CMD ["gunicorn", "--worker-class", "gevent", "--timeout", "3600", "--bind", "0.0.0.0:${PORT:-7860}", "app:app"]
 
26
  # Start the Flask app using Gunicorn.
27
  # Hugging Face Spaces automatically sets the PORT environment variable.
28
  # We bind to 0.0.0.0 and the port specified by the PORT env var, with a fallback to 7860.
29
+ CMD ["gunicorn", "--worker-class", "gevent", "--timeout", "3600", "--bind", "0.0.0.0:7860", "app:app"]