-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
26 lines (23 loc) · 1.13 KB
/
Copy pathDockerfile
File metadata and controls
26 lines (23 loc) · 1.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Builds the PingPoint MCP server (packages/mcp) from this npm-workspace monorepo.
# Used by registries (e.g. Glama) that build and introspect MCP servers from source.
FROM node:22-alpine AS build
WORKDIR /app
COPY package.json package-lock.json ./
COPY packages/agent-sdk/package.json packages/agent-sdk/
COPY packages/mcp/package.json packages/mcp/
RUN npm ci
COPY packages ./packages
RUN npm run build && npm prune --omit=dev
FROM node:22-alpine
WORKDIR /app
COPY --from=build /app/node_modules ./node_modules
COPY --from=build /app/packages/agent-sdk/dist ./packages/agent-sdk/dist
COPY --from=build /app/packages/agent-sdk/package.json ./packages/agent-sdk/
COPY --from=build /app/packages/mcp/dist ./packages/mcp/dist
COPY --from=build /app/packages/mcp/package.json ./packages/mcp/
# Defaults to the public shared sandbox key published at
# https://pingpoint.suverse.io/docs#sandbox — simulated trucks only, no real
# drivers, rate-limited, loads visible to every key holder. Override with your
# own sup_agent_… key for real tracking.
ENV PINGPOINT_AGENT_KEY=sup_agent_8Q3d7hfKjT2JOCQTmSBVVvXCjYK9Qcrk
CMD ["node", "packages/mcp/dist/index.js"]