Adios Docs

Deploying Next.js

Adios provides first-class support for Next.js applications. You can deploy static sites, server-side rendered apps, and API routes with zero configuration.

Prerequisites

  • A Next.js project (created via create-next-app)
  • The Adios CLI installed

Configuration

Create an adios.yaml file in the root of your project:

name: my-nextjs-app
runtime: node:24
build_cmd:
- npm install
- npm run build
start_cmd:
- npm start
env:
  PORT: $PORT
  NODE_ENV: production

Deploy

Run the deployment command from your project root:

$ adios up

Adios will build your application, containerize it, and deploy it to a dedicated sandbox. You'll receive a live URL immediately.