fix(ci): remove bun.lock from Docker COPY to avoid version mismatch

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
MythEclipse
2026-06-15 01:17:25 +07:00
co-authored by Claude
parent 02ae022174
commit 05055ed9cf
2 changed files with 3 additions and 5 deletions
+2 -3
View File
@@ -1,11 +1,10 @@
FROM oven/bun:1.3.14 AS deps
WORKDIR /app
COPY package.json bun.lock bunfig.toml tsconfig.base.json ./
COPY package.json 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
ENV BUN_INSTALL_FROZEN_LOCKFILE=0
RUN bun install --production
FROM oven/bun:1.3.14 AS runner
@@ -14,7 +13,7 @@ ENV NODE_ENV=production
ENV API_PORT=3000
COPY --from=deps /app/node_modules ./node_modules
COPY package.json bun.lock bunfig.toml tsconfig.base.json ./
COPY package.json bunfig.toml tsconfig.base.json ./
COPY apps/api apps/api
COPY packages/shared packages/shared