Docker and CI/CD · Junior · Question 20 of 75
In docker build -t my-app ., what is the .?
- ✓Correct answer: The build context: files the build can
COPY - 2A shortcut for the default
latesttag - 3The directory where the built image is saved
Explanation
The context is packaged and sent to the builder. By default the Dockerfile is looked up there too; -f points to another one.