From bb26d95b3260cbd842712fc343fa2af7ea6d9eac Mon Sep 17 00:00:00 2001 From: adilallo <39313955+adilallo@users.noreply.github.com> Date: Sat, 23 May 2026 17:53:12 -0600 Subject: [PATCH] Fix staging health-check hang: revert seed-at-boot --- CloudronManifest.json | 2 +- Dockerfile | 1 - scripts/start.sh | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/CloudronManifest.json b/CloudronManifest.json index 39d0402..fd8c539 100644 --- a/CloudronManifest.json +++ b/CloudronManifest.json @@ -4,7 +4,7 @@ "title": "Community Rule", "author": "MEDLab", "description": "Community governance and rule-building app", - "version": "0.1.4", + "version": "0.1.5", "httpPort": 3000, "healthCheckPath": "/api/health", "memoryLimit": 805306368, diff --git a/Dockerfile b/Dockerfile index 3e874c5..f0537f9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -48,7 +48,6 @@ COPY --from=builder --chown=node:node /app/public ./public COPY --from=builder --chown=node:node /app/.next/standalone ./ COPY --from=builder --chown=node:node /app/.next/static ./.next/static COPY --from=builder --chown=node:node /app/prisma ./prisma -COPY --from=builder --chown=node:node /app/data ./data # Prisma CLI (devDependency) is not in the Next.js standalone trace. Install # globally in the runner so start.sh can run `prisma migrate deploy`. diff --git a/scripts/start.sh b/scripts/start.sh index 2eb664c..cd2092c 100755 --- a/scripts/start.sh +++ b/scripts/start.sh @@ -21,4 +21,4 @@ chown -R node:node /tmp/next-cache # Drop privileges, apply any pending migrations, then exec the server. # Inner `exec` ensures SIGTERM from Cloudron reaches node for clean shutdown. exec gosu node:node sh -c \ - 'prisma migrate deploy && node prisma/seed.bundle.cjs && exec node server.js' + 'prisma migrate deploy && exec node server.js'