Skip to content

Commit 0c1ba59

Browse files
VladUZHclaude
andcommitted
fix: copy package.json and lock file to build stage in API Dockerfile
The second npm ci --omit=dev needs root package.json and lock file to resolve workspace dependencies. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 2cb37f8 commit 0c1ba59

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

apps/api/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ WORKDIR /app
1414

1515
COPY --from=deps /app/node_modules ./node_modules
1616

17+
COPY package.json package-lock.json ./
1718
COPY packages/shared/ ./packages/shared/
1819
COPY apps/api/ ./apps/api/
1920
COPY tsconfig.base.json ./

0 commit comments

Comments
 (0)