File tree Expand file tree Collapse file tree 2 files changed +21
-0
lines changed Expand file tree Collapse file tree 2 files changed +21
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ ' mcp-server-nodejs-api-docs ' : patch
3+ ---
4+
5+ fix: tools declare required schema correctly
Original file line number Diff line number Diff line change 1+ FROM node:22-slim AS builder
2+ WORKDIR /app
3+ COPY . /app
4+ RUN --mount=type=cache,target=/root/.npm npm install
5+ RUN --mount=type=cache,target=/root/.npm npm run build
6+ RUN --mount=type=cache,target=/root/.npm-production npm ci --ignore-scripts --omit-dev
7+
8+
9+ FROM node:22-slim AS release
10+ WORKDIR /app
11+ COPY --from=builder /app/dist /app/dist
12+ COPY --from=builder /app/package.json /app/package.json
13+ COPY --from=builder /app/package-lock.json /app/package-lock.json
14+ ENV NODE_ENV=production
15+ RUN npm ci --ignore-scripts --omit-dev
16+ ENTRYPOINT ["node" , "/app/dist/bin/cli.cjs" ]
You can’t perform that action at this time.
0 commit comments