mirror of
https://github.com/versia-pub/server.git
synced 2026-03-13 05:49:16 +01:00
Add migrations to start script
This commit is contained in:
parent
742edb24b5
commit
79f278e0bf
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
;;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue