fix env for build

This commit is contained in:
Romain PINSOLLE 2025-11-03 18:47:58 +01:00
parent 9b811aed38
commit 396f138029

View File

@ -44,7 +44,9 @@ NEXTAUTH_SECRET="$(openssl rand -base64 32)"
ALLOW_SIGNUP=true
NODE_ENV=production
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 migrate deploy
$STD npm run build