Skip to content

Commit fc065ac

Browse files
committed
fix: use supervisorctl for healthcheck instead of curl on MCP endpoint
1 parent 5ed7fee commit fc065ac

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,6 @@ RUN mkdir -p /home/agent/.config/openbox /home/agent/.config/tint2 \
4848
EXPOSE 3000 5900 6080
4949

5050
HEALTHCHECK --interval=30s --timeout=5s --start-period=10s --retries=3 \
51-
CMD curl -sf http://localhost:3000/mcp || exit 1
51+
CMD supervisorctl status | grep -qv FATAL || exit 1
5252

5353
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]

0 commit comments

Comments
 (0)