Skip to content

Commit 942eff3

Browse files
committed
chore: release
1 parent 9132b64 commit 942eff3

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

.changeset/shiny-seas-cheat.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'mcp-server-nodejs-api-docs': patch
3+
---
4+
5+
fix: tools declare required schema correctly

Dockerfile

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
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"]

0 commit comments

Comments
 (0)