There is a company ‘XYZ’ with a REST api code stored in a repository written in Nodejs and
is using MongoDB for DB. It has a dev and master branch and multiple feature branches. So far, what they have been doing is manually go to the instance running Nodejs application server and pull code over there separately for both dev and prod. Along with new tools for server orchestration and build/deploy automation, they want to automate the process of deploying a Nodejs application on their server.
We should use docker and Jenkins as the main tool for containerizing the different code and deploy the application via CI. As a DevOps engineer, what will be your course of action to achieve this task? use application server along with nginx