docker build reference code example
Example 1: docker build
docker build -t [tag] .
Example 2: docker build -t
--tag , -t ----> Name and optionally a tag in the ‘name:tag’ format
Example 3: dockerfile env variabes
FROM busybox
ENV foo /bar
WORKDIR ${foo} # WORKDIR /bar
ADD . $foo # ADD . /bar
COPY \$foo /quux # COPY $foo /quux