Self-Host NextJS in Fly.io: A Quick Try
Recently, Lee Robinson of Vercel gave a tutorial on how to self-host NextJS in a VPS. He used DigitalOcean. I also tried it in Hetzner using Ubuntu instance and it worked.
The example used Docker to deploy NextJS. It has all the dependencies like Ngi...
blog.donvitocodes.com8 min read
Soothfy App
This tutorial by Lee Robinson on self-hosting Next.js using Docker and deploying it on Fly.io is a great resource for developers. It illustrates how to set up a Next.js app with API routes, leveraging Docker for seamless deployment. The example includes creating a simple blog page and highlights the necessary configurations in the fly.toml file. However, a notable issue regarding the missing sharp dependency for image optimization is mentioned, which could be a potential hurdle for those looking to utilize all Next.js features.