Docker build command with a dockerfulename code example
Example 1: docker build
docker build -t [tag] .
Example 2: how to build docker image
docker build <Dockerfile path> -t image-name
docker build -t [tag] .
docker build <Dockerfile path> -t image-name