From 631e789546f56937442feb881a42909629f47601 Mon Sep 17 00:00:00 2001 From: vince Date: Sat, 20 Jun 2026 13:09:14 +0200 Subject: [PATCH] fix(web): skip install scripts in container deps stage --- apps/web/Containerfile | 2 +- apps/web/src/lib/workspace-boundary.test.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/web/Containerfile b/apps/web/Containerfile index 9ec2baa..32387a4 100644 --- a/apps/web/Containerfile +++ b/apps/web/Containerfile @@ -11,7 +11,7 @@ RUN bunx turbo prune @dimensionlab/web --docker FROM base AS deps COPY --from=pruner /repo/out/json/ ./ -RUN bun install --frozen-lockfile +RUN bun install --frozen-lockfile --ignore-scripts FROM deps AS build diff --git a/apps/web/src/lib/workspace-boundary.test.ts b/apps/web/src/lib/workspace-boundary.test.ts index 38a3f1b..c1ccaca 100644 --- a/apps/web/src/lib/workspace-boundary.test.ts +++ b/apps/web/src/lib/workspace-boundary.test.ts @@ -195,7 +195,7 @@ describe("workspace boundaries", () => { const sourceCopy = "COPY --from=pruner /repo/out/full/ ./"; const tsconfigCopy = "COPY --from=pruner /repo/tsconfig.base.json /repo/tsconfig.json ./"; - const installCommand = "RUN bun install --frozen-lockfile"; + const installCommand = "RUN bun install --frozen-lockfile --ignore-scripts"; expect(containerfile).toContain("AS pruner"); expect(containerfile).toContain(pruneCommand); -- 2.49.1