💚 Add db migration and fix build errors

This commit is contained in:
Manuel
2023-08-05 11:33:29 +02:00
parent da57166fe7
commit 44119422f6
3 changed files with 9 additions and 1 deletions

View File

@@ -1,4 +1,10 @@
#!/bin/sh
echo "Exporting hostname..."
export NEXTAUTH_URL_INTERNAL="http://$HOSTNAME:7575"
echo "Pushing database changes..."
npx prisma db push --skip-generate
echo "Starting production server..."
node /app/server.js