Skip to content

Commit c8385ed

Browse files
committed
fix(docker): drop --frozen-lockfile to work around turbo-prune lockfile drift
turbo prune --docker regenerates bun.lock with subtle formatting drift (array trailing commas, workspace-scoped entries) that trips Bun's frozen check. Remove the flag so the builder can reconcile the pruned lockfile.
1 parent 40a30ac commit c8385ed

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

api.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ FROM oven/bun:1.3.11-slim AS builder
1111
WORKDIR /app
1212

1313
COPY --from=pruner /app/out/json/ .
14-
RUN bun install --frozen-lockfile --ignore-scripts
14+
RUN bun install --ignore-scripts
1515

1616
COPY --from=pruner /app/out/full/ .
1717
COPY turbo.json turbo.json

basket.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ FROM oven/bun:1.3.11-slim AS builder
1111
WORKDIR /app
1212

1313
COPY --from=pruner /app/out/json/ .
14-
RUN bun install --frozen-lockfile --ignore-scripts
14+
RUN bun install --ignore-scripts
1515

1616
COPY --from=pruner /app/out/full/ .
1717
COPY turbo.json turbo.json

links.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ FROM oven/bun:1.3.11-slim AS builder
1111
WORKDIR /app
1212

1313
COPY --from=pruner /app/out/json/ .
14-
RUN bun install --frozen-lockfile --ignore-scripts
14+
RUN bun install --ignore-scripts
1515

1616
COPY --from=pruner /app/out/full/ .
1717
COPY turbo.json turbo.json

uptime.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ FROM oven/bun:1.3.11-slim AS builder
1111
WORKDIR /app
1212

1313
COPY --from=pruner /app/out/json/ .
14-
RUN bun install --frozen-lockfile --ignore-scripts
14+
RUN bun install --ignore-scripts
1515

1616
COPY --from=pruner /app/out/full/ .
1717
COPY turbo.json turbo.json

0 commit comments

Comments
 (0)