dockerfile copy from container to host during build code example
Example: copy file from docker container to host
docker cp <containerId>:/file/path/within/container /host/path/target
docker cp <containerId>:/file/path/within/container /host/path/target