update: entrypoint.sh
This commit is contained in:
parent
daa7bdb498
commit
69601ce836
1 changed files with 6 additions and 2 deletions
|
|
@ -1,4 +1,8 @@
|
|||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
pnpm prisma migrate deploy
|
||||
pnpm run start
|
||||
echo "Running prisma migrations..."
|
||||
npx prisma migrate deploy
|
||||
|
||||
echo "Starting server..."
|
||||
node ./dist/app.js
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue