Merge pull request 'fix(web): skip install scripts in container deps stage' (#43) from codex/fix-website-container-build into main
This commit is contained in:
commit
b0b09eb8ad
2 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue