From 620cc608e05df1ee8795cd193aca2173e5ad205a Mon Sep 17 00:00:00 2001 From: "shaggy (mosaic-dev box)" Date: Sun, 9 Aug 2026 18:03:18 -0500 Subject: [PATCH] =?UTF-8?q?fix(docker):=20copy=20scripts/=20into=20web=20b?= =?UTF-8?q?uilder=20=E2=80=94=20prepare=20runs=20install-hooks.mjs=20on=20?= =?UTF-8?q?install?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The layer-cached install copies only manifests and packages/, so the root prepare script could not be found and pnpm install exited 1 before the git-absent guard could even run. Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_01ESFAnh2t9HmLwng8oW95St --- docker/web.Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker/web.Dockerfile b/docker/web.Dockerfile index 5418a692..8661d367 100644 --- a/docker/web.Dockerfile +++ b/docker/web.Dockerfile @@ -8,6 +8,8 @@ WORKDIR /app COPY pnpm-workspace.yaml pnpm-lock.yaml package.json ./ COPY apps/web/package.json ./apps/web/ COPY packages/ ./packages/ +# the root prepare script runs scripts/install-hooks.mjs on install +COPY scripts/ ./scripts/ RUN pnpm install --frozen-lockfile COPY . . RUN pnpm --filter @mosaicstack/web build