fix(ci): remove bun.lock from Docker COPY to avoid version mismatch
Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
+2
-3
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user