server: fix dockerfile with migrations

This commit is contained in:
2023-08-29 15:07:04 +02:00
parent 3694b9704f
commit d379dc2376
2 changed files with 4 additions and 3 deletions

View File

@@ -25,6 +25,7 @@ FROM base AS final
COPY --from=builder /venv /venv
RUN mkdir -p /app
COPY reflector /app/reflector
COPY runserver.sh /app/runserver.sh
COPY migrations /app/migrations
COPY alembic.ini runserver.sh /app/
WORKDIR /app
CMD ["./runserver.sh"]