From d2bf6efdb43f1a0a40dc2399a6d7623f922eaa59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Kucharczyk?= Date: Sun, 14 Jun 2026 16:25:44 +0200 Subject: [PATCH] Fix Docker assets stage missing pnpm-workspace.yaml The tar override lives in pnpm-workspace.yaml, which pnpm-lock.yaml records. Copying only package.json + pnpm-lock.yaml left pnpm without the overrides config, causing ERR_PNPM_LOCKFILE_CONFIG_MISMATCH on frozen install. Co-Authored-By: Claude Sonnet 4.6 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 29890c9..5412c8c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,7 +25,7 @@ RUN uv run python manage.py gen_element_types FROM node:22-bookworm-slim AS assets WORKDIR /app -COPY package.json pnpm-lock.yaml ./ +COPY package.json pnpm-lock.yaml pnpm-workspace.yaml ./ # Corepack ships with Node and activates the pnpm version pinned in # package.json's "packageManager" field — no npm bootstrap needed. RUN corepack enable && pnpm install --frozen-lockfile --ignore-scripts