I am trying to spin a new container and run a powershell script with in the new container. This is my docker compose file
command: powershell -executionpolicy bypass “C:\docker\sharedFiles\scripts\generic_script.ps1” #tried with containerpath “C:\sharedFiles\scripts\generic_script.ps1”
I am able to spin the cotnainer, but the PS script is not getting executed. What am i missing ?