BuddhaNexus / buddhanexus-frontend-next

BuddhaNexus Frontend 2.0
2 stars 0 forks source link

figure out the proper way to serve next.js #22

Closed TrebuhD closed 2 years ago

TrebuhD commented 2 years ago

Docs: https://nextjs.org/docs/deployment

Summary: we can keep using Vercel for now if we stick to Static Site Generation (SSG). If we want to use Server Side Rendering (SSR) or Incremental Static Regeneration (ISR), we would need to set up a docker container and run a node.js server with Next.

There are readymade solutions for this, it shouldn't be difficult, but for now Vercel is enough.