Skip to content

Commit 1d3582d

Browse files
committed
UPDATE Docker
1 parent 032671d commit 1d3582d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,5 +52,5 @@ EXPOSE 8080
5252
HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
5353
CMD curl -f http://localhost:8080/api/plugins || exit 1
5454

55-
# Use gunicorn for production
56-
CMD ["gunicorn", "--bind", "0.0.0.0:8080", "--workers", "2", "--timeout", "120", "app:app"]
55+
# Use gunicorn with eventlet workers for SocketIO support
56+
CMD ["gunicorn", "--bind", "0.0.0.0:8080", "--worker-class", "eventlet", "--workers", "1", "--timeout", "120", "app:app"]

0 commit comments

Comments
 (0)