Compare this to deploying python, node or php... Needless complexity.
If only running (and keeping running) a database server could be this straightforward!
Compare this to deploying python, node or php... Needless complexity.
If only running (and keeping running) a database server could be this straightforward!
I tried Vercel pkg, Vercel ncc, nexe, and a few other tools I can’t remember right now. They all had issues with node v20, some dependencies, or seemed to not be maintained anymore. I ended up relying on esbuild as a compromise to get a fat script containing all sources and dependencies, tarballed with some static files we rely upon we can at least get versioned, reproducible runs (modulo the node env). Still not perfect, a single binary would be preferable
Now you can use this native feature (not totally stable yet though) which I’ve been meaning to try https://nodejs.org/api/single-executable-applications.html
And with that still, you’d be much better served by using a more expressive and less painful to use language like C#. Especially if the type of use is personal.
[2] https://peps.python.org/pep-0599/#the-manylinux2014-policy