Migrate before starting server

This commit is contained in:
Logan Hunt 2022-04-22 12:41:33 -06:00
parent 81600f9b84
commit 13f29496d6
Signed by untrusted user who does not match committer: simponic
GPG Key ID: 52B3774857EB24B1

View File

@ -86,4 +86,4 @@ COPY --from=builder --chown=nobody:root /app/_build/prod/rel/aggiedit ./
USER nobody
CMD ["/app/bin/server"]
CMD /app/bin/migrate && /app/bin/server