snow-flow 11.0.1 → 11.0.3
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.
- package/Dockerfile.mcp-http +7 -5
- package/bin/index.js.map +1 -1
- package/bin/worker.js.map +1 -1
- package/package.json +1 -1
package/Dockerfile.mcp-http
CHANGED
|
@@ -26,10 +26,11 @@ COPY package.json ./
|
|
|
26
26
|
COPY bunfig.toml ./bunfig.toml
|
|
27
27
|
COPY tsconfig.json ./
|
|
28
28
|
|
|
29
|
-
# Install only what the MCP server + its tool catalog needs.
|
|
30
|
-
#
|
|
31
|
-
#
|
|
32
|
-
|
|
29
|
+
# Install only what the MCP server + its tool catalog needs.
|
|
30
|
+
# `--ignore-scripts` skips snow-flow's own postinstall (which sets up the
|
|
31
|
+
# CLI bin shim — not needed for the MCP-server runtime and the script file
|
|
32
|
+
# isn't copied into this build stage).
|
|
33
|
+
RUN bun install --production --ignore-scripts
|
|
33
34
|
|
|
34
35
|
COPY src/ ./src/
|
|
35
36
|
|
|
@@ -45,7 +46,8 @@ ENV MCP_HTTP_PORT=8082
|
|
|
45
46
|
EXPOSE 8082
|
|
46
47
|
|
|
47
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.
|
|
48
50
|
HEALTHCHECK --interval=30s --timeout=5s --start-period=15s --retries=3 \
|
|
49
|
-
CMD
|
|
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
|
|
50
52
|
|
|
51
53
|
CMD ["bun", "run", "src/servicenow/servicenow-mcp-unified/transports/http-entry.ts"]
|