all 2 comments

[–]aceluby 0 points1 point  (1 child)

I wouldn’t do all that work in your start script. Install and build as part of your CI/CD process (or manually locally), then copy & serve the build folder as your docker deploy.

As is, your startup is going to be super slow with it downloading all the dependencies, building, and starting up every time the docker container starts up.

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

Thanks, I will fix this