From acce53ce47d2616a306bff9cb9bcbdc40b72fc96 Mon Sep 17 00:00:00 2001 From: Julien Calixte Date: Sat, 20 Jun 2026 10:03:00 +0200 Subject: [PATCH] fix(docker): copy pnpm-workspace.yaml into the install layer pnpm 11 defaults strictDepBuilds to true, so a dependency build script that is not pre-decided in allowBuilds becomes a hard error. The install layer only copied package.json and the lockfile, so the vue-demi build decision in pnpm-workspace.yaml was absent and the build failed. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index af20aa9..2fc745b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM node:22-alpine AS build WORKDIR /app -COPY package.json pnpm-lock.yaml* ./ +COPY package.json pnpm-lock.yaml* pnpm-workspace.yaml ./ RUN corepack enable && pnpm install --frozen-lockfile COPY . . RUN pnpm build