Spaces:
Running
Running
Trisha Tomy
commited on
Commit
·
4f40e92
1
Parent(s):
62974ce
xvfb line updated
Browse files- 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:
|
60 |
-
CMD ["xvfb-run", "
|
|
|
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"]
|