From 011aa73bd48e1e1fbb30635a6b0983f5b92e3e95 Mon Sep 17 00:00:00 2001 From: Danny Bessems Date: Sun, 7 Nov 2021 10:53:57 +0000 Subject: [PATCH] Update 'Dockerfile' --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 80c2204..5151ee0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -43,7 +43,9 @@ RUN chmod +x /usr/local/bin/entrypoint.sh && \ apt-get autoremove -y && \ rm -rf /var/lib/apt/lists/* && \ pwsh -Command "Set-PSRepository -Name 'PSGallery' -InstallationPolicy 'Trusted' -Verbose" && \ - pwsh -Command "Find-Module -Name 'ExchangeOnlineManagement' -Repository 'PSGallery' -MinimumVersion 2.0.4-Preview2 -AllowPrerelease | Save-Module -Path '/opt/microsoft/powershell/7/Modules'" + pwsh -Command "Find-Module -Name 'ExchangeOnlineManagement' -Repository 'PSGallery' -MinimumVersion 2.0.4-Preview2 -AllowPrerelease | Save-Module -Path '/opt/microsoft/powershell/7/Modules'" && \ + pwsh -Command "Find-Module -Name 'PSWSMan' -Repository 'PSGallery' -AllowPrerelease | Save-Module -Path '/opt/microsoft/powershell/7/Modules'" && \ + VOLUME /data/scripts VOLUME /etc/lighttpd/vhosts.d