Add migrations to start script

This commit is contained in:
Jesse Wierzbinski 2024-04-07 00:42:06 -10:00
parent 742edb24b5
commit 79f278e0bf
No known key found for this signature in database

View file

@ -14,6 +14,8 @@ cd /app/dist
# Parse first argument
case "$1" in
"start")
# Migrate the database
exec /bin/bash /app/entrypoint.sh prisma migrate deploy
# Start the server
exec bun run ./index.js --prod
;;