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

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 +11 -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
 
@@ -7,7 +7,16 @@ RUN npm ci --ignore-scripts
7
7
 
8
8
  COPY . .
9
9
  RUN npm run build
10
- RUN npm prune --production
10
+
11
+ FROM node:20-alpine AS release
12
+
13
+ WORKDIR /app
14
+
15
+ COPY --from=builder /app/dist /app/dist
16
+ COPY --from=builder /app/package*.json ./
17
+
18
+ ENV NODE_ENV=production
19
+ RUN npm ci --ignore-scripts --omit=dev
11
20
 
12
21
  ENTRYPOINT ["node", "dist/index.js"]
13
22
  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.4",
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",