refactor alembic migrations

This commit is contained in:
Jakub Miazek
2023-03-11 21:19:47 +01:00
parent 59e2a0e878
commit d274b0bfa9
8 changed files with 157 additions and 182 deletions

View File

@@ -29,9 +29,11 @@ RUN apt-get purge -y curl git build-essential \
FROM install as app-image
COPY tests tests
COPY app app
COPY alembic alembic
ENV PYTHONPATH=/home/code/ PYTHONHASHSEED=0
COPY tests/ tests/
COPY app/ app/
COPY alembic/ alembic/
COPY .env alembic.ini ./
# create a non-root user and switch to it, for security.