I'm trying to copy a number of files and folders to a docker image build from my localhost.
The files are like this:
folder1
file1
file2
folder2
file1
file2
I'm trying to make the copy like this:
COPY files/* /files/
However, all files are placed in /files/ is there a way in Docker to keep the subdirectory structure as well as copying the files into their directories?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…