fix
This commit is contained in:
parent
77e2e4a959
commit
85669b8395
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/bin/sh
|
||||
|
||||
export HOSTNAME=0.0.0.0
|
||||
export PORT=3000
|
||||
@ -8,10 +8,5 @@ echo "DATABASE_URL: ${DATABASE_URL:+set}"
|
||||
echo "CLERK_SECRET_KEY: ${CLERK_SECRET_KEY:+set}"
|
||||
echo "S3_ENDPOINT: ${S3_ENDPOINT:+set}"
|
||||
|
||||
echo "Running Prisma migrations..."
|
||||
node ./node_modules/prisma/build/index.js migrate deploy || {
|
||||
echo "WARNING: Prisma migrations failed, continuing anyway..."
|
||||
}
|
||||
|
||||
echo "Starting Next.js server on 0.0.0.0:3000..."
|
||||
exec node server.js
|
||||
Loading…
Reference in New Issue
Block a user