fix env for build
This commit is contained in:
parent
9b811aed38
commit
396f138029
@ -44,7 +44,9 @@ NEXTAUTH_SECRET="$(openssl rand -base64 32)"
|
|||||||
ALLOW_SIGNUP=true
|
ALLOW_SIGNUP=true
|
||||||
NODE_ENV=production
|
NODE_ENV=production
|
||||||
EOF
|
EOF
|
||||||
DATABASE_URL="postgresql://$DB_USER:$DB_PASS@localhost:5432/$DB_NAME"
|
set -a
|
||||||
|
source /opt/snowshare.env
|
||||||
|
set +a
|
||||||
$STD npx prisma generate
|
$STD npx prisma generate
|
||||||
$STD npx prisma migrate deploy
|
$STD npx prisma migrate deploy
|
||||||
$STD npm run build
|
$STD npm run build
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user