COPY FILE DOCKER code example
Example 1: copy files from a docker container to the host machine using cmd
docker cp <containerId>:/file/path/within/container /host/path/target
Example 2: copy file to docker container
docker cp foo.txt mycontainer:/foo.txt
Example 3: dockerfile copy specific files
COPY ["__BUILD_NUMBER", "README.md", "gulpfile", "another_file", "./"]
All the files and folders, the last is destination