diff --git a/Dockerfile b/Dockerfile index 5eb326e..2fbd84d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -43,7 +43,8 @@ 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 "Install-Module -Name ExchangeOnlineManagement -RequiredVersion 2.0.4-Preview2 -AllowPrerelease -Verbose" + #pwsh -Command "Install-Module -Name ExchangeOnlineManagement -RequiredVersion 2.0.4-Preview2 -AllowPrerelease -Verbose" + pwsh -Command "Find-Module -Name 'ExchangeOnlineManagement' -Repository 'PSGallery' | Save-Module -Path '/opt/microsoft/powershell/7/Modules'" VOLUME /data/scripts VOLUME /etc/lighttpd/vhosts.d