Skip to content

Commit 6660e43

Browse files
chaxusclaude
andcommitted
fix: align Dockerfile pnpm version to 11.4.0 and copy workspace config
Two issues caused Docker build failures: 1. Dockerfile still used pnpm@10.28.0 while packageManager specifies 11.4.0, causing corepack to download 11.4.0 which has strict build script approval 2. pnpm-workspace.yaml (which sets allowBuilds.tesseract.js: false) was not copied before pnpm install, so pnpm could not read the build approval config Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 1816dee commit 6660e43

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎Dockerfile‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ WORKDIR /app
44

55
# Enable Corepack and install pnpm (Corepack reads packageManager from package.json)
66
RUN corepack enable && \
7-
corepack prepare pnpm@10.28.0 --activate && \
7+
corepack prepare pnpm@11.4.0 --activate && \
88
pnpm --version
99

1010
# Copy package files
11-
COPY package.json pnpm-lock.yaml ./
11+
COPY package.json pnpm-lock.yaml pnpm-workspace.yaml ./
1212

1313
# Install dependencies
1414
RUN pnpm install --frozen-lockfile

0 commit comments

Comments
 (0)