mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 21:01:08 +02:00
🐛 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:
parent
4900106021
commit
5ea7767833
1 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue