How to copy multiple files in one layer using a Dockerfile?

COPY README.md package.json gulpfile.js __BUILD_NUMBER ./ or COPY [“__BUILD_NUMBER”, “README.md”, “gulpfile”, “another_file”, “./”] You can also use wildcard characters in the sourcefile specification. See the docs for a little more detail. Directories are special! If you write COPY dir1 dir2 ./ that actually works like COPY dir1/* dir2/* ./ If you want to copy multiple … Read more