fix(mana-core-auth): add shared-llm package to Dockerfile

The auth service now depends on @manacore/shared-llm but it was missing
from the Docker build context, causing build failures.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Till JS 2026-03-24 11:13:28 +01:00
parent 5611f3824a
commit cc55ca5578

View file

@ -16,17 +16,21 @@ COPY patches/ ./patches/
# Copy shared packages (required dependencies)
COPY packages/shared-storage ./packages/shared-storage
COPY packages/shared-llm ./packages/shared-llm
# Copy mana-core-auth
COPY services/mana-core-auth ./services/mana-core-auth
# Install all dependencies (without ignore-scripts to build native modules like bcrypt)
RUN --mount=type=cache,id=pnpm,target=/root/.local/share/pnpm/store pnpm install --no-frozen-lockfile --filter mana-core-auth... --filter @manacore/shared-storage
RUN --mount=type=cache,id=pnpm,target=/root/.local/share/pnpm/store pnpm install --no-frozen-lockfile --filter mana-core-auth... --filter @manacore/shared-storage --filter @manacore/shared-llm
# Build shared-storage first
# Build shared packages first
WORKDIR /app/packages/shared-storage
RUN pnpm build || true
WORKDIR /app/packages/shared-llm
RUN pnpm build || true
# Build the application
WORKDIR /app/services/mana-core-auth
RUN pnpm build