🏖️
Chisfis - Online Booking NextJs template
DemoBuy now
  • Getting Started
  • Folder structure and organization
  • Dependencies
  • Installation
  • Custom color, fonts
  • CSS
  • Component Structure
  • How to fetch data
  • How to deploy
  • How to add metadata
  • Resources and assets
  • Support
  • Change log
    • Change log
  • How to?
    • How to Get Google Maps API Key for Free (in 5 easy steps)
    • Converting a Next.js project from TypeScript to plain JavaScript
Powered by GitBook
On this page
  • Node.js server
  • Docker
  • Static export
  • Adapters

Was this helpful?

How to deploy

PreviousHow to fetch dataNextHow to add metadata

Last updated 3 days ago

Was this helpful?

Here is a guide on how to deploy the application. This entire documentation is referenced from Next.js, so for a better view, please check this Next.js tutorial -

Next.js can be deployed as a Node.js server, Docker container, static export, or adapted to run on different platforms.

Deployment Option
Feature Support

All

All

Limited

Platform-specific

Next.js can be deployed to any provider that supports Node.js. Ensure your package.json has the "build" and "start" scripts:

package.json

{  "scripts": {    "dev": "next dev",    "build": "next build",    "start": "next start"  }}

Then, run npm run build to build your application and npm run start to start the Node.js server. This server supports all Next.js features. If needed, you can also eject to a .

Node.js deployments support all Next.js features. Learn how to for your infrastructure.

Next.js can be adapted to run on different platforms to support their infrastructure capabilities.

Refer to each provider's documentation for information on supported Next.js features:

Next.js can be deployed to any provider that supports containers. This includes container orchestrators like Kubernetes or a cloud provider that runs Docker.

Docker deployments support all Next.js features. Learn how to for your infrastructure.

Next.js enables starting as a static site or , then later optionally upgrading to use features that require a server.

Since Next.js supports , it can be deployed and hosted on any web server that can serve HTML/CSS/JS static assets. This includes tools like AWS S3, Nginx, or Apache.

Running as a does not support Next.js features that require a server. .

https://nextjs.org/docs/app/getting-started/deploying
Node.js server
custom server
configure them
Templates
Flightcontrol
Railway
Replit
Docker
Docker
configure them
Templates
Docker
Docker Multi-Environment
DigitalOcean
Fly.io
Google Cloud Run
Render
SST
Static export
Single-Page Application (SPA)
static exports
static export
Learn more
Templates
GitHub Pages
Adapters
AWS Amplify Hosting
Cloudflare
Deno Deploy
Netlify
Vercel
Node.js server
Docker container
Static export
Adapters