fix(web): skip install scripts in container deps stage #43

Merged
vince merged 1 commit from codex/fix-website-container-build into main 2026-06-20 13:16:29 +02:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 631e789546 - Show all commits

View file

@ -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

View file

@ -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);