Windows: cannot put data in volumes with
docker build
#escape=`
FROM microsoft/windowsservercore
SHELL [ "powershell", "-Command" ]
COPY ".\starter-config" "C:\starter-config"
CMD if ((Get-ChildItem 'C:\config').Length -eq 0) {`
Copy-Item 'C:\starter-config\*' 'C:\config\';`
};`
& 'C:\RunTheServer.ps1'