Fix Prisma runtime by switching API image to Debian slim

Alpine musl is incompatible with host-built Prisma engines; use bookworm-slim and allow updating entrypoint without repacking the bundle.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-05 22:04:27 +03:30
co-authored by Cursor
parent 6ed952cc5d
commit fe324936c8
4 changed files with 16 additions and 7 deletions
+2 -1
View File
@@ -1,6 +1,7 @@
#!/bin/sh
set -e
echo "DATABASE_URL host check..."
echo "Waiting for database & applying migrations..."
i=0
until npx prisma migrate deploy; do
@@ -18,5 +19,5 @@ if [ "${RUN_SEED:-false}" = "true" ]; then
npx prisma db seed || true
fi
echo "Starting API..."
echo "Starting API on port ${PORT:-3000}..."
exec node dist/main.js