I have a docker image that ends with the following CMD:
CMD ["powershell", "c:\install\settings\install.ps1"]
or
CMD powershell c:\install\settings\install.ps1
It did not execute (or perhaps the volume is not mounted yet).
Settings are placed in a mounted volume, and it is started with:
docker run -d -p 80:80 --name openid --rm -v D:\settings\:c:\install\settings mydocker
If I run the command after starting the docker image:
docker exec openid powershell c:\install\settings\install.ps1
It runs fine.
Is there a way of doing this?
Or is there a better way of deploying an IIS website with webdeploy and custom SetParameters.xml
?