Trisha Tomy commited on
Commit
4f40e92
·
1 Parent(s): 62974ce

xvfb line updated

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -56,5 +56,5 @@ RUN echo "-----------------------------------"
56
  EXPOSE 7860
57
 
58
  # Define the command to run your Flask application using Gunicorn for production.
59
- # CHANGED: Wrap the gunicorn command with xvfb-run to provide a virtual display
60
- CMD ["xvfb-run", "--auto-display", "gunicorn", "--bind", "0.0.0.0:7860", "--workers", "2", "--worker-class", "gevent", "app:app", "--timeout", "300"]
 
56
  EXPOSE 7860
57
 
58
  # Define the command to run your Flask application using Gunicorn for production.
59
+ # CHANGED: Removed '--auto-display' option from xvfb-run
60
+ CMD ["xvfb-run", "gunicorn", "--bind", "0.0.0.0:7860", "--workers", "2", "--worker-class", "gevent", "app:app", "--timeout", "300"]