fix(docker): copy scripts/ into appservice image build before pnpm install (#1451)
ci/woodpecker/pr/ci Pipeline was successful

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.
This commit is contained in:
fred
2026-08-27 06:08:37 -05:00
parent 01904b8f69
commit 837d2ac6e1
+2
View File
@@ -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...