diff --git a/api/Dockerfile b/api/Dockerfile index 7a0ac92..a270b67 100644 --- a/api/Dockerfile +++ b/api/Dockerfile @@ -6,6 +6,8 @@ FROM python:3.12-slim AS development WORKDIR /app COPY pyproject.toml . COPY src/ src/ +COPY alembic.ini . +COPY alembic/ alembic/ # Install directly into system Python — no venv, so uvicorn's multiprocessing.spawn # subprocess inherits the same interpreter and can always find rehearsalhub RUN pip install --no-cache-dir -e "." diff --git a/api/alembic.ini b/api/alembic.ini index 8c88300..b424845 100644 --- a/api/alembic.ini +++ b/api/alembic.ini @@ -1,7 +1,7 @@ [alembic] script_location = alembic prepend_sys_path = . -sqlalchemy.url = postgresql+asyncpg://rh_user:change_me@localhost:5432/rehearsalhub +sqlalchemy.url = postgresql+asyncpg://rh_user:changeme_password_123@db:5432/rehearsalhub [loggers] keys = root,sqlalchemy,alembic