QuestionQ18

VerifiedApplication Deployment and Security

Question Image

Refer to the exhibit. What happens when the Dockerfile is run?

Explanation

COPY . /app copies the contents of the Docker client’s current build context into /app. RUN make /app executes make while building the image, and CMD python /app/app.py supplies the default Python command when a container created from the image starts.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!