build a docker image from dockerfile code example
Example 1: docker build
docker build -t [tag] .
Example 2: how to build docker image
docker build <Dockerfile path> -t image-name
Example 3: docker build supress build output
docker image build -t [name] . -q