Run the following command:
docker build -t mymicroservice .
docker build command uses the
Dockerfile to build a Docker image.
-t mymicroserviceparameter tells it to tag (or name) the image as
.specifies the current directory).
You can run the following command to see a list of all images available on your machine, including the one you just created.