This is a simple node.js + express.js web app that is dockerized and can be run as a docker container. Follow the below steps to run this application as a docker container.
Please ensure that docker is installed into your system.
npm install<br/>
npm start <br/>
--> Build a docker image with the Dockerfile. Give any image name that you want. Give any tag(version) like latest, etc.
docker build -t <image_name>:tag ./
--> Run the container using the build docker image. Put the image name and tag that you put when the image was built. In the below command -p 3000:3000 is for port mapping.
docker run -p 3000:3000 <image_name>:tag
http://localhost:3000/