mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 20:01:09 +02:00
fix(mana-credits): correct pnpm workspace filter (@mana/credits-service, not @mana/credits)
Build was succeeding-by-luck because the wrong filter resolved to nothing → pnpm installed all workspace deps. After Phase 3.A added the new grant route, the install pruning must have changed enough that the build started failing with /app/node_modules: not found. Fix the filter to match the real package name. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
2266d83cd4
commit
39a6f42209
1 changed files with 4 additions and 2 deletions
|
|
@ -12,8 +12,10 @@ COPY packages/shared-hono ./packages/shared-hono
|
|||
COPY packages/shared-logger ./packages/shared-logger
|
||||
COPY packages/shared-types ./packages/shared-types
|
||||
|
||||
# Install only mana-credits and its workspace deps
|
||||
RUN pnpm install --filter @mana/credits... --no-frozen-lockfile --ignore-scripts
|
||||
# Install only mana-credits-service and its workspace deps.
|
||||
# Note the suffix — the workspace name is `@mana/credits-service`, not
|
||||
# `@mana/credits` (which is a different package under packages/credits).
|
||||
RUN pnpm install --filter @mana/credits-service... --no-frozen-lockfile --ignore-scripts
|
||||
|
||||
# Runtime stage: bun
|
||||
FROM oven/bun:1 AS production
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue