Framework recipes
Next.js
next.config.jsjavascript
module.exports = {
output: 'standalone',
};Dashboard → Commandsbash
# BUILD_COMMANDS
npm install && npm run build
# RUN_COMMAND
npm startIf you're using NextAuth, set
NEXTAUTH_URL=https://$APP_DOMAIN in your user env vars before the first deploy. The platform does not inject this automatically.