docker: migrate before deploy :D

This commit is contained in:
2024-05-27 01:10:03 +02:00
parent e1457d28d6
commit 9d547bcdf2

View File

@ -94,4 +94,4 @@ USER nobody
# above and adding an entrypoint. See https://github.com/krallin/tini for details # above and adding an entrypoint. See https://github.com/krallin/tini for details
# ENTRYPOINT ["/tini", "--"] # ENTRYPOINT ["/tini", "--"]
CMD ["/app/bin/server"] CMD ["sh", "-c", "/app/bin/migrate && /app/bin/server"]