Copy multiple files at once on Docker
October 24, 2021
Specify all the files and folders to be copied from the host in a JSON array, the last one is the destination on the image:
COPY ["hello.txt", ".world.csv", "./src/example.json", "../config.yaml", "/some-directory"]