docker file COPY code example
Example 1: copy file from docker container to host
docker cp <containerId>:/file/path/within/container /host/path/target
Example 2: copy docker image from one machine to another
docker save -o <path for generated tar file> <image name>
Example 3: dockerfile copy specific files
COPY ["__BUILD_NUMBER", "README.md", "gulpfile", "another_file", "./"]
All the files and folders, the last is destination