Build the image using the following command
$ docker build -t friendlyhello .Run the Docker container using the command shown below.
$ docker run -d -p 4000:80 friendlyhelloUse -e to override the NAME environment variable.
$ docker -e NAME=foobar run -d -p 4000:80 friendlyhelloThe application will be accessible at http://localhost:4000
$ curl http://localhost:4000