@softeria/ms-365-mcp-server 0.24.3 → 0.24.5

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.
Files changed (2) hide show
  1. package/Dockerfile +12 -2
  2. package/package.json +1 -1
package/Dockerfile CHANGED
@@ -1,4 +1,4 @@
1
- FROM node:20-alpine
1
+ FROM node:20-alpine AS builder
2
2
 
3
3
  WORKDIR /app
4
4
 
@@ -6,8 +6,18 @@ COPY package*.json ./
6
6
  RUN npm ci --ignore-scripts
7
7
 
8
8
  COPY . .
9
+ RUN npm run generate
9
10
  RUN npm run build
10
- RUN npm prune --production
11
+
12
+ FROM node:20-alpine AS release
13
+
14
+ WORKDIR /app
15
+
16
+ COPY --from=builder /app/dist /app/dist
17
+ COPY --from=builder /app/package*.json ./
18
+
19
+ ENV NODE_ENV=production
20
+ RUN npm ci --ignore-scripts --omit=dev
11
21
 
12
22
  ENTRYPOINT ["node", "dist/index.js"]
13
23
  CMD ["--http"]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@softeria/ms-365-mcp-server",
3
- "version": "0.24.3",
3
+ "version": "0.24.5",
4
4
  "description": " A Model Context Protocol (MCP) server for interacting with Microsoft 365 and Office services through the Graph API",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",