Solution to Challenge
Learn the solution to the challenge you completed.
We'll cover the following...
Solution
-
To build and tag an image in a single command with
challenge
andtry
as image and tag name respectively:docker image build -t <your_username>/challenge:try .
or for
Dockerfile.prod
:docker image build -f Dockerfile.prod -t