diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index c34413e..e317f85 100644 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -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