next build (standalone)
BuildBuild Next.js app with standalone output
Examples
Common usage examples
Build with standalone output in next.config.js
next buildNotes
- Add 'output: "standalone"' in next.config.js
- Creates minimal Node.js server for deployment
- Ideal for Docker containers
Related Commands
You might also find these useful