mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 23:21:08 +02:00
fix(auth): scope pnpm install to auth service in Dockerfile
Use --filter to only install mana-core-auth and shared-storage deps, avoiding missing workspace package errors from root package.json. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
baf96cbe03
commit
3b8931090f
1 changed files with 1 additions and 1 deletions
|
|
@ -21,7 +21,7 @@ COPY packages/shared-storage ./packages/shared-storage
|
|||
COPY services/mana-core-auth ./services/mana-core-auth
|
||||
|
||||
# Install dependencies (without ignore-scripts to build native modules like bcrypt)
|
||||
RUN pnpm install --no-frozen-lockfile
|
||||
RUN pnpm install --no-frozen-lockfile --filter mana-core-auth... --filter @manacore/shared-storage
|
||||
|
||||
# Build shared-storage first
|
||||
WORKDIR /app/packages/shared-storage
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue