How to string together multiple powershell commands in RUN?

I responded on the other thread too.

FROM microsoft/windowsservercore

ADD hello.ps1 .
ADD world.ps1 .

CMD powershell .\hello.ps1 ; .\world.ps1

Sample project.

1 Like