AZ-400 – Question 188

0
93
You plan to create an image that will contain a .NET Core application.

You have a Dockerfile file that contains the following code. (Line numbers are included for reference only.)
You need to ensure that the image is as small as possible when the image is built.

Which line should you modify in the file?

A. 1
B. 3
C. 4
D. 7

Correct Answer: C

Final image shall not be sdk but runtime image

Reference: https://docs.docker.com/develop/develop-images/multistage-build/#use-multi-stage-builds

NO COMMENTS