DEV Community

Why you should use COPY instead of ADD when building Docker images

Liran Tal on May 01, 2019

Docker provides two commands for copying files from the host to the Docker image when building it: COPY and ADD. The instructions are similar in na...
Collapse
 
strahinjalak profile image
Strahinja Laktovic

Concise and on point. I like the link with 10 image security tips, as well.👌

Collapse
 
lirantal profile image
Liran Tal

Thanks! Really happy you like it ❤️❤️❤️