npx prisma was downloading Prisma CLI v7.8.0 which dropped the
url = env("DATABASE_URL") schema syntax. Use the project's own
installed Prisma CLI from node_modules instead, copied from the
builder stage.
9 lines
146 B
Bash
9 lines
146 B
Bash
#!/bin/sh
|
|
set -e
|
|
|
|
echo "Running Prisma migrations..."
|
|
./node_modules/.bin/prisma migrate deploy
|
|
|
|
echo "Starting Moon Base..."
|
|
exec node server.js
|