Answers for "copy file to container dockerfile"

1

copy file to docker conatiner using docker dockerfile

COPY foo.txt /data/foo.txt
# where foo.txt is the relative path on host
# and /data/foo.txt is the absolute path in the image
Posted by: Guest on September-25-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language