I am testing to see how I can setup NextJS/ReactJS app on Ubuntu 18 that has no internet access. I even utilized an approach to include Docker into the picture but still I am required to have npm/node. Issue that`s keep coming is that I cannot use latest version of NodeJS on Ubuntu 18 due to "GLIBC_2.28 not found (required by node)". And I cannot upgrade GLIBC either. I am recommended to use older version of node, but if I do that, then I won't be able to ensure Nextjs app is running properly since it needs to have latest NodeJS not NodeJS version that was released like 5-6 years ago.
What is the best approach to setup NextJS fresh app on Ubuntu 18 machine that has no interest?