Docker · Directive
COPY
COPY puts files from the build host into a container image. Use it to include application code, dependencies, or binaries in the image.
Last updated
Syntax
COPY <host-path> <image-path>In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
DockerfileFROMWORKDIRRUNCMDvolume