2 Commits

Author SHA1 Message Date
3f5b0d1591 fix: set PYTHONPATH=/app so alembic can import app package
When the alembic console-script entry point runs, Python sets sys.path[0]
to the entry point directory (/usr/local/bin/), not the WORKDIR. Without
PYTHONPATH=/app, `from app.models import Base` in alembic/env.py fails
with ModuleNotFoundError. uvicorn is unaffected as it adds CWD to
sys.path itself.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-28 21:42:39 +01:00
ee9dc101da feat: add backend Dockerfile and requirements 2026-02-28 19:54:06 +01:00