Q. What is the purpose of the COPY instruction in a Dockerfile?
β
Correct Answer: (A)
To copy files from the host to the container
Explanation: The COPY instruction copies files or directories from the host machine into the Docker image.