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

COPY package.json gulpfile.js __BUILD_NUMBER ./ or COPY [“__BUILD_NUMBER”, “”, “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