diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..b513064 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,4 @@ +FROM mcr.microsoft.com/powershell +ARG ModuleName=EZOut +COPY . ./usr/local/share/powershell/Modules/$ModuleName +RUN pwsh -c "New-Item -Path /root/.config/powershell/Microsoft.PowerShell_profile.ps1 -Value 'Import-Module $ModuleName' -Force" \ No newline at end of file