snow-flow 11.0.2 → 11.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -46,7 +46,8 @@ ENV MCP_HTTP_PORT=8082
46
46
  EXPOSE 8082
47
47
 
48
48
  # Health endpoint lives on /health — docker-compose healthcheck probes it.
49
+ # bun is already in the image; wget is not, so we use bun's built-in fetch.
49
50
  HEALTHCHECK --interval=30s --timeout=5s --start-period=15s --retries=3 \
50
- CMD wget --quiet -O /dev/null http://localhost:${MCP_HTTP_PORT}/health || exit 1
51
+ CMD bun -e "fetch('http://localhost:' + (process.env.MCP_HTTP_PORT || '8082') + '/health').then(r => process.exit(r.ok ? 0 : 1)).catch(() => process.exit(1))" || exit 1
51
52
 
52
53
  CMD ["bun", "run", "src/servicenow/servicenow-mcp-unified/transports/http-entry.ts"]