nextjs-deployment
Installation
SKILL.md
Quick Reference
| Output Mode | Config | Use Case |
|---|---|---|
| Default | - | Vercel/Node.js hosting |
| Standalone | output: 'standalone' |
Docker containers |
| Static | output: 'export' |
Static hosting (no SSR) |
| Platform | Command | Notes |
|---|---|---|
| Vercel | vercel --prod |
Automatic, recommended |
| Node.js | npm run build && npm start |
Self-hosted |
| Docker | docker build -t app . |
Container deployment |
| Static | npm run build → out/ |
CDN hosting |
| Runtime | Config | Features |
|---|---|---|
| Node.js | Default | Full features |
| Edge | export const runtime = 'edge' |
Fast, limited APIs |