Is there any way to copy multiple directories in one command, to reduce the number of layers? E.g., instead of:
COPY dirone ./dirone
COPY dirtwo ./dirtwo
COPY dirthree ./dirthree
I want to do:
COPY dirone/ dirtwo/ dirthree/ ./
However, this copies the contents of the directories... but I want to copy the directories themselves.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…