mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 21:41:09 +02:00
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:
parent
5611f3824a
commit
cc55ca5578
1 changed files with 6 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue