DEV Community

Discussion on: Crafting multi-stage builds with Docker in Node.js

 
ganeshmani profile image
GaneshMani

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