mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 20:01:09 +02:00
main.py's lifespan handler loads `Path(__file__).parent.parent / 'aliases.yaml'` (= /app/aliases.yaml) on startup. The Dockerfile only copied `src/`, so prod containers always crashlooped on first start with `AliasConfigError: alias config not found at /app/aliases.yaml` — which is why mana-llm has been silently absent from prod. Surfaced today after a manual `gh workflow run cd-macmini.yml -f service= mana-llm` actually attempted to start the container instead of relying on a long-stale image. Tested locally: container now starts cleanly, /health returns 200, and `/v1/aliases` lists the configured chains. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| src | ||
| tests | ||
| .env.example | ||
| .gitignore | ||
| aliases.yaml | ||
| CLAUDE.md | ||
| docker-compose.dev.yml | ||
| docker-compose.yml | ||
| Dockerfile | ||
| pyproject.toml | ||
| requirements.txt | ||
| service.pyw | ||
| start.sh | ||