From 837d2ac6e1998991e524524eb238df1dee77fffa Mon Sep 17 00:00:00 2001 From: fred Date: Thu, 27 Aug 2026 06:08:37 -0500 Subject: [PATCH] fix(docker): copy scripts/ into appservice image build before pnpm install (#1451) The root package.json prepare script runs node scripts/install-hooks.mjs at install time. gateway.Dockerfile and web.Dockerfile COPY scripts/ before pnpm install --frozen-lockfile; appservice.Dockerfile was the one missed by 91e692e3, so build-appservice fails MODULE_NOT_FOUND on next pushes (first terminal trunk run: pipeline 2883). Same one-line COPY, same comment, matching gateway line 14. --- docker/appservice.Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker/appservice.Dockerfile b/docker/appservice.Dockerfile index a92e2522..cf6a4cd8 100644 --- a/docker/appservice.Dockerfile +++ b/docker/appservice.Dockerfile @@ -10,6 +10,8 @@ COPY pnpm-workspace.yaml pnpm-lock.yaml package.json ./ COPY apps/appservice/package.json ./apps/appservice/ COPY packages/ ./packages/ COPY plugins/ ./plugins/ +# the root prepare script runs scripts/install-hooks.mjs on install +COPY scripts/ ./scripts/ RUN pnpm install --frozen-lockfile COPY . . RUN pnpm turbo run build --filter @mosaicstack/mosaic-as...