At build time

COPY and ADD

  • ADD allows <src> to be an URL
  • If the <src> parameter of ADD is an archive in a recognised compression format, it will be unpacked.
# Dockerfiles

COPY /scripts /scripts
ADD /scripts /scripts