Migrations should now run on startup

This commit is contained in:
Jef Roosens 2021-04-17 14:43:24 +02:00
parent d43a34a5d6
commit 65c3d616de
Signed by: Jef Roosens
GPG key ID: B580B976584B5F30
4 changed files with 23 additions and 1 deletions

View file

@ -33,3 +33,4 @@ RUN { curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --
# Copy source code over to builder
COPY --chown=builder:builder Cargo.toml Cargo.lock ./
COPY --chown=builder:builder src/ ./src/
COPY --chown=builder:builder migrations/ ./migrations/