Skip to content

Commit

Permalink
Added a step to run web.config transform after each module is installed
Browse files Browse the repository at this point in the history
Signed-off-by: Vincent Lui <[email protected]>
  • Loading branch information
vtml committed Nov 2, 2020
1 parent 071aebf commit 79f06d4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build/windows/10.x.x/sitecore-custom-base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@ RUN C:\module\tools\Initialize-Content.ps1 -TargetPath C:\inetpub\wwwroot; `
Remove-Item -Path C:\module -Recurse -Force;


RUN (Get-ChildItem -Path 'C:\\inetpub\\wwwroot\\App_Data\\*Xdt\\web.config.xdt' -Recurse ) | ForEach-Object { & 'C:\\tools\\scripts\\Invoke-XdtTransform.ps1' -Path 'C:\\inetpub\\wwwroot\\web.config' -XdtPath $_.FullName; Remove-Item -Path $_.FullName -Force };

0 comments on commit 79f06d4

Please sign in to comment.