💚 Add db migration and fix build errors
This commit is contained in:
1 parent
da57166fe7
commit
44119422f6
3 files changed
+9
-1
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user