Deploy Next.js on Deplexo

Next.js is detected as part of the Node.js framework. Deplexo reads your lock file to pick the package manager and recognizes next in your dependencies to apply Next.js-specific defaults. Standalone output mode is supported.

How it works

  1. Push your Next.js repo to GitHub, GitLab, Bitbucket, or Codeberg.
  2. Deplexo detects Next.js and generates a Dockerfile that runs npm run build then starts the server with npm start. If your next.config sets output: "standalone", the standalone build output is used directly.
  3. Your app starts on its subdomain. Build and runtime logs stream to the dashboard.

Configuration

Next.js uses the node framework. Override commands in deplexo.yaml only if your setup requires non-default values.

framework: node
install: npm ci
build: npm run build
start: npm start
port: 3000

For standalone output, set output: "standalone" in your next.config.js. No changes to deplexo.yaml are required — Deplexo detects standalone mode automatically.

What you get

  • Automatic subdomain (your-app.deplexo.com) provisioned on first deploy.
  • Build logs streamed live from the worker.
  • Runtime logs accessible from the Logs tab.
  • Environment variables managed in the dashboard, encrypted at rest, injected at runtime.
  • Git webhooks trigger automatic redeploys on push.

Deploy now

Cookie choices

We use essential cookies to keep the site working. Cookieless page counts run automatically. Performance measurements are optional and only run with your consent.

Cookie policy