|
|
@ -3,7 +3,7 @@ |
|
|
# Build all solutions |
|
|
# Build all solutions |
|
|
foreach ($service in $serviceArray) { |
|
|
foreach ($service in $serviceArray) { |
|
|
Set-Location $service.Path |
|
|
Set-Location $service.Path |
|
|
$publishPath = $rootFolder + "/aspnet-core/services/Publish/" + $service.Service |
|
|
$publishPath = $rootFolder + "/../aspnet-core/services/Publish/" + $service.Service |
|
|
dotnet publish -c Release -o $publishPath --no-cache --no-restore |
|
|
dotnet publish -c Release -o $publishPath --no-cache --no-restore |
|
|
Copy-Item (Join-Path $service.Path "Dockerfile") -Destination $publishPath -Recurse |
|
|
Copy-Item (Join-Path $service.Path "Dockerfile") -Destination $publishPath -Recurse |
|
|
} |
|
|
} |
|
|
|