a note on how to dockerize NodeJS tutorial source from this link
The docker container is launched based on a docker image, the docker image is created with instructions written in the Dockerfile. So we have to add Dockerfile
to the directory in the application directory.
write these set of commands on your Dockerfile
FROM node:7