🐛 fix(chat-backend): add missing shared-nestjs-auth package to Dockerfile

- Copy packages/shared-nestjs-auth in build stage
- Build shared-nestjs-auth before backend
- Resolves TS2307 errors in Docker build CI

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Wuesteon 2025-12-04 01:16:02 +01:00
parent 4900106021
commit 5ea7767833

View file

@ -13,6 +13,7 @@ COPY pnpm-lock.yaml ./
# Copy shared packages
COPY packages/shared-errors ./packages/shared-errors
COPY packages/shared-nestjs-auth ./packages/shared-nestjs-auth
# Copy chat backend
COPY apps/chat/apps/backend ./apps/chat/apps/backend
@ -24,6 +25,9 @@ RUN pnpm install --frozen-lockfile
WORKDIR /app/packages/shared-errors
RUN pnpm build
WORKDIR /app/packages/shared-nestjs-auth
RUN pnpm build
# Build the backend
WORKDIR /app/apps/chat/apps/backend
RUN pnpm build