eShopOnContainers/cli-windows/start-windows-containers.ps1
Eduard Tomàs 8198126daf Use dotnet multi-architecture images.
Removing docker-compose.windows.override (not needed as is identical to docker-compose.override)
2017-09-04 19:07:53 +02:00

17 lines
501 B
PowerShell

Param(
[parameter(Mandatory=$false)][string] $rootPath,
[parameter(Mandatory=$false)][bool]$buildBits=$true
)
$scriptPath = Split-Path $script:MyInvocation.MyCommand.Path
if ([string]::IsNullOrEmpty($rootPath)) {
$rootPath = "$scriptPath\.."
}
Write-Host "Root path used is $rootPath" -ForegroundColor Yellow
if ($buildBits) {
& $scriptPath\build-bits.ps1 -rootPath $rootPath
}
docker-compose -f "$rootPath\docker-compose-windows.yml" -f "$rootPath\docker-compose.override.yml" up