fix(ci): regenerate bun.lock and disable frozen-lockfile in Dockerfiles
bun auto-enables --frozen-lockfile in CI by default. Use env var BUN_INSTALL_FROZEN_LOCKFILE=0 to override this behavior. Also regenerate lockfile fresh to ensure it is compatible with bun 1.3.14. Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
+2
-1
@@ -5,7 +5,8 @@ COPY package.json bun.lock bunfig.toml tsconfig.base.json ./
|
||||
COPY apps/api/package.json apps/api/package.json
|
||||
COPY apps/web/package.json apps/web/package.json
|
||||
COPY packages/shared/package.json packages/shared/package.json
|
||||
RUN bun install --no-frozen-lockfile --production
|
||||
ENV BUN_INSTALL_FROZEN_LOCKFILE=0
|
||||
RUN bun install --production
|
||||
|
||||
FROM oven/bun:1.3.14 AS runner
|
||||
WORKDIR /app
|
||||
|
||||
Reference in New Issue
Block a user