fix(docker): copy bun.lock and workspace node_modules to API runner stage
Bun workspace symlinks (apps/api/node_modules/*) pointed to root .bun cache but were never copied from deps→runner. Added bun.lock, apps/api/node_modules, and packages/shared/node_modules to the runner COPY chain so and resolve at runtime. Also added bun.lock to web Dockerfile for deterministic installs. Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -1,7 +1,7 @@
|
||||
FROM oven/bun:1.3.14 AS builder
|
||||
WORKDIR /app
|
||||
|
||||
COPY package.json bunfig.toml tsconfig.base.json ./
|
||||
COPY package.json bun.lock bunfig.toml tsconfig.base.json ./
|
||||
COPY packages/shared/package.json packages/shared/package.json
|
||||
COPY apps/web/package.json apps/web/package.json
|
||||
COPY apps/api/package.json apps/api/package.json
|
||||
|
||||
Reference in New Issue
Block a user