From 6fd309feda8c3aabe0a63eb6709038d7b8552c14 Mon Sep 17 00:00:00 2001 From: Jeff Emmett Date: Sat, 6 Dec 2025 16:13:43 +0100 Subject: [PATCH] fix: use npm instead of pnpm in Dockerfile MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit pnpm-lock.yaml was out of date after Next.js upgrade, switched to npm ci for more reliable builds. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index f89312f..c728cf0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,8 +5,8 @@ FROM base AS deps RUN apk add --no-cache libc6-compat WORKDIR /app -COPY package.json pnpm-lock.yaml* ./ -RUN corepack enable pnpm && pnpm install --frozen-lockfile +COPY package.json package-lock.json* ./ +RUN npm ci # Rebuild the source code only when needed FROM base AS builder @@ -17,7 +17,7 @@ COPY . . ENV NEXT_TELEMETRY_DISABLED=1 ENV NODE_ENV=production -RUN corepack enable pnpm && pnpm run build +RUN npm run build # Production image, copy all the files and run next FROM base AS runner