fix(mana-analytics): multi-stage Dockerfile that resolves workspace deps

Switches the build context to repo-root so the pnpm-workspace install
can pull in @mana/shared-hono. Mirrors the mana-auth/mana-ai pattern
(node+pnpm installer stage → bun runtime stage).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Till JS 2026-04-27 00:50:25 +02:00
parent 722fe74ced
commit db01ddccc7
2 changed files with 30 additions and 7 deletions

View file

@ -569,8 +569,8 @@ services:
mana-analytics:
build:
context: services/mana-analytics
dockerfile: Dockerfile
context: .
dockerfile: services/mana-analytics/Dockerfile
image: mana-analytics:local
container_name: mana-analytics
restart: always