This project builds to a standalone Next.js server and deploys anywhere that runs Node 20 or supports the Next.js adapter.
cd benzuko
git init
git add .
git commit -m "feat: initial benzuko production scaffold"
git branch -M main
git remote add origin https://github.com/your-org/benzuko.git
git push -u origin main
CI (.github/workflows/deploy.yml) then runs lint → typecheck → test → build →
E2E on every push and PR.
Dashboard: Import the repo → framework auto-detected as Next.js → add env vars → Deploy.
CLI:
npm i -g vercel
vercel # preview
vercel --prod # production
vercel.json sets the framework, install/build commands, region, and headers.
For automated deploys, uncomment the amondnet/vercel-action block in the
workflow and add VERCEL_TOKEN, VERCEL_ORG_ID, VERCEL_PROJECT_ID secrets.
netlify.toml is preconfigured with @netlify/plugin-nextjs.
npm i -g netlify-cli
netlify deploy --build --prod
Or connect the repo in the Netlify dashboard (build npm run build).
npm run build.nextFor full edge support use
@cloudflare/next-on-pages:npx @cloudflare/next-on-pages@latest
# build + run with compose (includes healthcheck)
docker compose up --build # http://localhost:3000
# or plain docker
docker build -t benzuko .
docker run -p 3000:3000 --env NEXT_PUBLIC_APP_URL=http://localhost:3000 benzuko
The multi-stage Dockerfile produces a minimal node:20-alpine runtime image
from the standalone build and runs as a non-root user.
BENZUKO runs as a live Node process on cPanel via server.js (Passenger entry
point). Git deployment, ZIP upload, rollback, SSL, and the shared-hosting build
caveats are covered in full in CPANEL.md.
Quick version:
server.js)..cpanel.yml) or ZIP upload.next build — build in CI
(release-artifact.yml produces benzuko-cpanel.zip) and upload the .next.NEXT_PUBLIC_APP_URL to the real domain (fixes SEO/sitemap/robots).AUTH_SECRET and any provider secrets./api/health returns ok.curl -I.