This repository was archived by the owner on May 19, 2026. It is now read-only.
Commit 259251e
fix(docker): install Alembic and run migrations via python -m (#12)
The backend image pip-installed requirements.txt but Alembic was never
declared, so entrypoint.sh failed with alembic: not found (exit 127).
Add alembic and psycopg so POSTGRES_URL migrations match alembic/env.py.
Invoke migrations with python -m alembic for consistent module resolution.
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Jakub Doboš <kubo6472@users.noreply.github.com>1 parent 408327c commit 259251e
2 files changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
3 | 5 | | |
4 | 6 | | |
5 | 7 | | |
| |||
0 commit comments