Build the Docker image using the following command
$ docker build -t nodejs-express:<tag>.Run the Docker container using the command below.
$ docker run -d -p 8080:8080 nodejs-express:<tag>Follow the steps mentioned below for git based pipeline
Ensure that you have a git project
Edit
app/src/server.jsCommit your changes
$ git add . $ git commit -m "message"
Push the changes to git
$ git push <remote> master
Default Port for application is 8080 .