What Railpack detects
Railpack inspects the repository and picks the build for Next.js; most projects need no configuration. A Dockerfile in the repository always wins.
- package.json with
next - next.config.*
- lockfile: pnpm / npm / yarn / bun
- Builder
- Railpack (default)
- Start command
- npm run start
Derived by Railpack; override it in Settings → Deploy → Start command.

