Use full node:22-bookworm image so OpenSSL is available without apt

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-05 22:11:34 +03:30
co-authored by Cursor
parent fd98ffb7a3
commit 85900f649c
2 changed files with 7 additions and 4 deletions
+4 -2
View File
@@ -1,13 +1,15 @@
#!/bin/sh
set -e
echo "DATABASE_URL host check..."
echo "Node: $(node -v)"
echo "OpenSSL: $(openssl version 2>/dev/null || echo missing)"
echo "Waiting for database & applying migrations..."
i=0
until npx prisma migrate deploy; do
i=$((i + 1))
if [ "$i" -ge 30 ]; then
echo "Database not ready after 30 attempts"
echo "Database/migrate failed after 30 attempts"
exit 1
fi
echo "Retry $i..."