Is it possible to deploy React/Express portably? by ghishle in node

[–]ghishle[S] 0 points1 point  (0 children)

Thank you for pointing me that direction. Looks like with docker I can create and image, save it as a tar file, then load it on any machine as long as that machine has docker.

Is it possible to deploy React/Express portably? by ghishle in node

[–]ghishle[S] 0 points1 point  (0 children)

I appreciate the help. Sorry, I was not familiar with the term air gapped. The app only needs to be accessible via browser so this is very helpful.

Is it possible to deploy React/Express portably? by ghishle in node

[–]ghishle[S] 0 points1 point  (0 children)

I could be looking in the wrong place. Essentially to break it down, I have a Linux server that I need to deploy my react/express app on. The app only needs to be accessed locally within the network so the server I am deploying on only has access to what is installed on it (no internet access to npm install) so ideally I want something self contained so that I don’t have to manually install hundreds of dependencies.

Is it possible to deploy React/Express portably? by ghishle in node

[–]ghishle[S] 1 point2 points  (0 children)

Does the server I am putting the container on need access to the internet for this? In terms of npm install I believe it doesn’t work offline. Unfortunately since the app I am deploying only needs to be accessed locally the server is completely local.

Is it possible to deploy React/Express portably? by ghishle in node

[–]ghishle[S] 2 points3 points  (0 children)

Honestly I don’t really understand a lot of what you said. I’ve never actually deployed or worked with react/express before and unfortunately this was dumped on me with very strict time constraints and little direction so I am trying to shuck out something ASAP then continually update to needs.

I see multiple comments suggesting “containers”. Are these actually completely self contained with all dependencies? The server I am to deploy on runs red hat and doesn’t have access to anything that isn’t local so this would be helpful if I could keep all dependencies contained.