Deploying Our App
Now let's try to create a production build of our app. For that, visit your app & run:
This will make our app ready for production deployments. Then we can run our app with:
Now we can access the production version of our app with http://localhost:3009.
💡 This is the same process you need to do when you are deploying inside a hosting provider. You can deploy a Next.js app anywhere you can deploy a Node.js server.
You will get all the features of Next.js, including "Incremental Static Regeneration".