Add comment to Create-DockerfileSolutionRestore.ps1 script
This commit is contained in:
		
							parent
							
								
									aafd8893d9
								
							
						
					
					
						commit
						7faa1a40cf
					
				@ -4,6 +4,12 @@ param (
 | 
			
		||||
 | 
			
		||||
$outfile = "DockerfileSolutionRestore.txt"
 | 
			
		||||
 | 
			
		||||
# This script creates the $outfile file, with Dockerfile commands to restore all the packages for the solution,
 | 
			
		||||
# so you can insert them (by hand) into Dockerfiles right before the "COPY . ." line
 | 
			
		||||
# to increase build speed by optimizing the use of docker build images cache.
 | 
			
		||||
 | 
			
		||||
# This script is only needed when adding or removing projects from the solution.
 | 
			
		||||
 | 
			
		||||
Write-Output "COPY ""$solution"" ""$solution""" > $outfile 
 | 
			
		||||
 | 
			
		||||
Add-Content -Path $outfile ""
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user