fix(ci): add --no-frozen-lockfile to bun install in Dockerfiles

bun defaults to --frozen-lockfile in CI environments, causing failures
when the lockfile format differs from the version used at build time.

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
MythEclipse
2026-06-15 01:02:35 +07:00
co-authored by Claude
parent 3d3ca72230
commit 9ee3af8a1f
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ COPY package.json bun.lock bunfig.toml tsconfig.base.json ./
COPY apps/api/package.json apps/api/package.json COPY apps/api/package.json apps/api/package.json
COPY apps/web/package.json apps/web/package.json COPY apps/web/package.json apps/web/package.json
COPY packages/shared/package.json packages/shared/package.json COPY packages/shared/package.json packages/shared/package.json
RUN bun install --production RUN bun install --no-frozen-lockfile --production
FROM oven/bun:1.3.14 AS runner FROM oven/bun:1.3.14 AS runner
WORKDIR /app WORKDIR /app
+1 -1
View File
@@ -5,7 +5,7 @@ COPY package.json bun.lock bunfig.toml tsconfig.base.json ./
COPY packages/shared/package.json packages/shared/package.json COPY packages/shared/package.json packages/shared/package.json
COPY apps/web/package.json apps/web/package.json COPY apps/web/package.json apps/web/package.json
COPY apps/api/package.json apps/api/package.json COPY apps/api/package.json apps/api/package.json
RUN bun install RUN bun install --no-frozen-lockfile
COPY packages/shared packages/shared COPY packages/shared packages/shared
COPY apps/web apps/web COPY apps/web apps/web