COPY ./src/*/*.csproj . RUN for file in $(ls *.csproj); do mkdir -p src/${file%.*}/ && mv $file src/${file%.*}/; done
Docker Copy 模糊匹配还原目录
原文:https://www.cnblogs.com/gaocong/p/14690377.html