Skip to content

Commit 396f138

Browse files
committed
fix env for build
1 parent 9b811ae commit 396f138

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

install/snowshare-install.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,9 @@ NEXTAUTH_SECRET="$(openssl rand -base64 32)"
4444
ALLOW_SIGNUP=true
4545
NODE_ENV=production
4646
EOF
47-
DATABASE_URL="postgresql://$DB_USER:$DB_PASS@localhost:5432/$DB_NAME"
47+
set -a
48+
source /opt/snowshare.env
49+
set +a
4850
$STD npx prisma generate
4951
$STD npx prisma migrate deploy
5052
$STD npm run build

0 commit comments

Comments
 (0)