You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
440 B
13 lines
440 B
. "./build-aspnetcore-common.ps1"
|
|
|
|
# Build all solutions
|
|
foreach ($solution in $serviceArray) {
|
|
$publishPath = $rootFolder + "/../aspnet-core/services/Publish/" + $solution.Service
|
|
dotnet publish -c Release -o $publishPath $solution.Path --no-cache
|
|
$dockerFile = Join-Path $solution.Path "Dockerfile";
|
|
if ((Test-Path $dockerFile)) {
|
|
Copy-Item $dockerFile -Destination $publishPath
|
|
}
|
|
}
|
|
|
|
Set-Location $rootFolder
|