Skip to content

Commit a40211d

Browse files
committed
fix(docker): npm install instead of npm ci (package-lock.json is gitignored, absent in CI)
1 parent d767166 commit a40211d

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

docker/Dockerfile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,13 @@
55
#
66
# Build: docker build -f docker/Dockerfile -t pineforge-codegen-mcp .
77

8-
# --- build MCP dist + prod deps (lockfile present → npm ci) ---
8+
# --- 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.
911
FROM node:22-slim AS mcp
1012
WORKDIR /app
11-
COPY package.json package-lock.json ./
12-
RUN npm ci --no-audit --no-fund
13+
COPY package.json ./
14+
RUN npm install --no-audit --no-fund
1315
COPY . .
1416
RUN npm run build && npm prune --omit=dev
1517

0 commit comments

Comments
 (0)