Fix prisma not found in entrypoint

This commit is contained in:
Jannik committed 2026-09-20 21:09:08 +02:00
1 parent dedec653ee
commit 6af960b6f8
1 file changed
+1 -1
+1 -1
View File
@@ -6,7 +6,7 @@ echo "[Entrypoint] Waiting for database..."
# We just rely on Docker Compose depends_on with condition: service_healthy, so it should be ready.
echo "[Entrypoint] Applying database schema..."
npx prisma db push --accept-data-loss --skip-generate
node node_modules/prisma/build/index.js db push --accept-data-loss --skip-generate
echo "[Entrypoint] Starting Next.js application..."
exec node server.js