Deploy Next.js for free (without Vercel) in 2026
Next.js runs anywhere Node runs — including Oracle Cloud's Always Free tier. Here's how to get SSR, API routes, and image optimization working on infrastructure you own, for $0/month.
Why Next.js off-Vercel is easier than you've been told
Next.js has shipped a first-class output: "standalone" build for years. It produces a self-contained Node.js server that runs anywhere — no Vercel-specific glue required. Cheaploy handles the Dockerfile and reverse proxy so you get the same DX as Vercel with zero lock-in.
The Dockerfile Cheaploy generates
Multi-stage: deps → builder → runner. Runs as non-root, sets NODE_ENV=production, uses the standalone output, and exposes port 3000 behind the Oracle load balancer with automatic health checks.
Free-tier apples-to-apples
| Feature | Vercel Hobby | Cheaploy + Oracle |
|---|---|---|
| Bandwidth | 100 GB / mo | 10 TB / mo |
| SSR function timeout | 10 seconds | No limit |
| Build minutes | 6,000 / mo | Unmetered |
| Commercial use | Not allowed | Allowed |
| Server components | Yes | Yes |
| ISR | Yes | Yes |
Frequently asked
Do ISR and on-demand revalidation work?+
Yes. Cheaploy runs Next.js in standalone output mode; ISR uses the local disk cache. On-demand revalidation via revalidatePath() and revalidateTag() works out of the box.
What about middleware and edge runtime?+
Middleware runs on the Node.js runtime on your Oracle VM. Edge-runtime-specific APIs (WebSocket streams, geo headers) aren't available — most middleware works without changes.
Image optimization?+
next/image with the default loader works; images are optimized on the server. For high-traffic sites, we recommend routing images through Cloudflare Images (free tier) — Cheaploy sets this up with one env var.
Deploy your project for $0
No credit card. No Oracle sales call. Ship to your own cloud in under 10 minutes.
Start free