Next.js Discord

Discord Forum

Self Contained Install

Unanswered
Campeiro Bulldog posted this in #help-forum
Open in Discord
Avatar
Campeiro BulldogOP
So, based on my reading of https://nextjs.org/docs/pages/building-your-application/configuring/custom-server it is not, currently, possible to to build a next application such that I can just node .next/server/index.mjs (or equiv) like I can using other services.

I'd really like a complete solution that allows this w/o a custom server. My use case is to make the app work with my company's existing infrastructure which uses systemd - ideally I would not need to add a package manager to run my app.

We don't use Docker, if we did this seems like it would be a bit easier.
I'm ok, not using serverless functions, since I don't need them. But it would be nice to keep the Automatic Static Optimizations since that seems like it should still be doable during the CI build.

0 Replies