DEV Community

Crafting multi-stage builds with Docker in Node.js

GaneshMani on October 05, 2019

Docker has became an inevitable tool for development. Everyday developers face new challenges for containerizing their applications.One of the impo...
Collapse
 
ganeshmani profile image
GaneshMani
 
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