There was an error while loading. Please reload this page.
1 parent d767166 commit a40211dCopy full SHA for a40211d
1 file changed
docker/Dockerfile
@@ -5,11 +5,13 @@
5
#
6
# Build: docker build -f docker/Dockerfile -t pineforge-codegen-mcp .
7
8
-# --- build MCP dist + prod deps (lockfile present → npm ci) ---
+# --- build MCP dist + prod deps ---
9
+# package-lock.json is gitignored in this repo, so CI checkouts don't have it
10
+# and `npm ci` can't run. Use `npm install` against package.json alone.
11
FROM node:22-slim AS mcp
12
WORKDIR /app
-COPY package.json package-lock.json ./
-RUN npm ci --no-audit --no-fund
13
+COPY package.json ./
14
+RUN npm install --no-audit --no-fund
15
COPY . .
16
RUN npm run build && npm prune --omit=dev
17
0 commit comments