Deploy Next.js on Chronlink

Host Next.js without Vercel seat taxes or serverless limits.

Connect your GitHub repository or Next.js standalone Dockerfile and ship App Router, SSR, API routes, and Server Actions on always-on Linux containers — with 500 GB edge bandwidth, edge caching, PR previews, and 1-click rollbacks on Pro.

Zero Cold Starts

Always-on Next.js SSR & Server Actions

Your Next.js server stays warm inside an isolated container (up to 2 vCPU / 4 GB RAM on Pro) — no cold-start latency spikes and no 10-second serverless timeout walls.

GitHub Auto-Deploy

Auto-detected builds + PR preview URLs

Push to main for zero-downtime healthchecked cutovers. Cloud Pro workspaces automatically spin up preview URLs for pull requests and let you roll back broken releases in one click.

Edge Caching & TLS

Unlimited custom domains & Spend Caps

Every app gets an instant *.chronlink.site URL plus automatic Let's Encrypt TLS for custom domains, 500 GB edge bandwidth & caching on Pro, and a configurable monthly USD Spend Cap.

Quickstart Configuration

Production Next.js Standalone Dockerfile (Optional — GitHub Auto-Detect Also Supported)

Enable output: 'standalone' in next.config.ts for ultra-fast builds and tiny container images:

FROM node:22-alpine AS builder
WORKDIR /app
COPY package*.json ./
RUN npm ci
COPY . .
RUN npm run build

FROM node:22-alpine AS runner
WORKDIR /app
ENV NODE_ENV=production
ENV PORT=3000
COPY --from=builder /app/.next/standalone ./
COPY --from=builder /app/.next/static ./.next/static
COPY --from=builder /app/public ./public
EXPOSE 3000
CMD ["node", "server.js"]
Step 01

Import your Next.js repo from GitHub

Sign in to Chronlink, click + New App → Import from GitHub, and pick your repository and branch.

Step 02

Add environment variables

Open the Environment tab to set NEXT_PUBLIC_* build vars, auth secrets, and external database URIs.

Step 03

Attach your custom domain & ship

Chronlink builds your app and serves it on *.chronlink.site immediately. Add your custom domain in Domains & SSL for automatic Let's Encrypt TLS and Pro edge caching.

Stack FAQ

Common Next.js deployment questions.

Do I need a Dockerfile to deploy Next.js on Chronlink?

No! Chronlink detects Next.js automatically when you import from GitHub. You can also include a custom standalone Dockerfile anytime for complete control over the build.

Does Chronlink support Next.js App Router, Middleware, and Server Actions?

Yes. Because Next.js runs as a full Node.js container server, App Router, SSR, streaming React Server Components, Route Handlers, Middleware, and Server Actions all work out of the box.

How does Chronlink prevent unexpected Next.js bandwidth bills?

Free Sandbox pauses cleanly at 25 GB / 250k requests. Cloud Pro ($19/mo) includes 500 GB edge bandwidth, 5M requests with edge caching, and a configurable monthly USD Spend Management cap with optional auto-pause.

Ship your Next.js app in seconds.

Start free on Sandbox (2 apps, 25 GB bandwidth) or scale to 50 apps on Cloud Pro for $19/month flat ($15/mo annual) with $0/seat.