mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-24 00:56:41 +02:00
🐛 fix(docker): add missing workspace dependencies to all Dockerfiles
Ensure all backend Dockerfiles copy and build ALL workspace dependencies they need. This fixes Docker build failures where packages couldn't find their @manacore/* dependencies. **Changes:** **Picture Backend:** - Added better-auth-types (with build) - Added mana-core-nestjs-integration (with build) - Added shared-nestjs-auth (with build) - Added shared-storage (with build) **Chat Backend:** - Added mana-core-nestjs-integration (with build) **Calendar, Clock, Todo Backends:** - Added shared-nestjs-cors (already had other deps) **Mana Core Auth:** - Restructured for monorepo workspace support - Added shared-nestjs-cors **Key Improvements:** - All packages in alphabetical order - Build steps for compiled packages - Source-only packages (shared-nestjs-cors) skip build - Proper dependency ordering in build steps This ensures Docker builds work correctly after the CORS package addition. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
c5d662bb89
commit
1be3d7a3ae
6 changed files with 44 additions and 17 deletions
|
|
@ -15,6 +15,7 @@ COPY pnpm-lock.yaml ./
|
|||
COPY packages/better-auth-types ./packages/better-auth-types
|
||||
COPY packages/shared-errors ./packages/shared-errors
|
||||
COPY packages/shared-nestjs-auth ./packages/shared-nestjs-auth
|
||||
COPY packages/shared-nestjs-cors ./packages/shared-nestjs-cors
|
||||
|
||||
# Copy clock packages and backend
|
||||
COPY apps/clock/packages ./apps/clock/packages
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue