re: Crafting multi-stage builds with Docker in Node.js VIEW POST

TOP OF THREAD FULL DISCUSSION
re: The Docker Integration paragraph lists features that are all supported by production docker infrastructures such as Kubernetes or Swarm. The proce...

I get the point. you may not be in favour of using pm2 inside Docker but sometimes the application requirements are different and you may need to run two nodejs application in one docker container, so in case if you want to run frontend and backend application in the same container then in the case pm2 work well than other workarounds.

Anyway, you are right..we don't need pm2 in docker in most of the circumstances. i will change it..thanks for the heads up

the application requirements are different and you may need to run two nodejs application in one docker container

That's generally due to bad application design, and a serious misuse of Docker.

code of conduct - report abuse