fix(docker): copy pnpm-workspace.yaml into deps stage
The build-allow config lives in pnpm-workspace.yaml, but the deps stage only copied package.json and pnpm-lock.yaml — so the container saw no allowlist and pnpm install failed on ignored build scripts.
This commit is contained in:
@@ -5,7 +5,7 @@ RUN corepack enable
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY package.json pnpm-lock.yaml ./
|
||||
COPY package.json pnpm-lock.yaml pnpm-workspace.yaml ./
|
||||
|
||||
RUN pnpm install --frozen-lockfile
|
||||
|
||||
|
||||
Reference in New Issue
Block a user