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:
Till JS 2026-03-19 15:10:08 +01:00
parent baf96cbe03
commit 3b8931090f

View file

@ -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