forked from tsai/eShopOnAbp
1 changed files with 64 additions and 0 deletions
@ -0,0 +1,64 @@ |
|||
param ($version='1.0') |
|||
|
|||
$currentFolder = $PSScriptRoot |
|||
$slnFolder = Join-Path $currentFolder "../" |
|||
$webAppFolder = Join-Path $slnFolder "apps/angular" |
|||
$authserverFolder = Join-Path $slnFolder "apps/auth-server/src/EShopOnAbp.AuthServer" |
|||
$publicWebFolder = Join-Path $slnFolder "apps/public-web/src/EShopOnAbp.PublicWeb" |
|||
|
|||
$webGatewayFolder = Join-Path $slnFolder "gateways/web/src/EShopOnAbp.WebGateway" |
|||
$webPublicGatewayFolder = Join-Path $slnFolder "gateways/web-public/src/EShopOnAbp.WebPublicGateway" |
|||
|
|||
$identityServiceFolder = Join-Path $slnFolder "services/identity/src/EShopOnAbp.IdentityService.HttpApi.Host" |
|||
$administrationServiceFolder = Join-Path $slnFolder "services/administration/src/EShopOnAbp.AdministrationService.HttpApi.Host" |
|||
$saasServiceFolder = Join-Path $slnFolder "services/saas/src/EShopOnAbp.SaasService.HttpApi.Host" |
|||
|
|||
Write-Host "===== BUILDING APPLICATIONS =====" -ForegroundColor Yellow |
|||
|
|||
# ### Angular WEB App |
|||
# Write-Host "*** BUILDING ANGULAR WEB APPLICATION ***" -ForegroundColor Green |
|||
# Set-Location $slnFolder |
|||
# docker build -f "$webAppFolder/Dockerfile" -t eshoponabp/app-web:$version . |
|||
|
|||
### AUTH-SERVER |
|||
Write-Host "**************** BUILDING AUTH-SERVER ****************" -ForegroundColor Green |
|||
Set-Location $slnFolder |
|||
docker build -f "$authserverFolder/Dockerfile" -t eshoponabp/app-authserver:$version . |
|||
|
|||
### PUBLIC-WEB |
|||
Write-Host "**************** BUILDING WEB-PUBLIC ****************" -ForegroundColor Green |
|||
Set-Location $slnFolder |
|||
docker build -f "$publicWebFolder/Dockerfile" -t eshoponabp/app-publicweb:$version . |
|||
|
|||
Write-Host "===== BUILDING GATEWAYS =====" -ForegroundColor Yellow |
|||
|
|||
### WEB-GATEWAY |
|||
Write-Host "**************** BUILDING WEB-GATEWAY ****************" -ForegroundColor Green |
|||
Set-Location $slnFolder |
|||
docker build -f "$webGatewayFolder/Dockerfile" -t eshoponabp/gateway-web:$version . |
|||
|
|||
### PUBLICWEB-GATEWAY |
|||
Write-Host "**************** BUILDING WEB-PUBLIC-GATEWAY ****************" -ForegroundColor Green |
|||
Set-Location $webPublicGatewayFolder |
|||
docker build -f "$webPublicGatewayFolder/Dockerfile" -t eshoponabp/gateway-web-public:$version . |
|||
|
|||
Write-Host "===== BUILDING MICROSERVICES =====" -ForegroundColor Yellow |
|||
|
|||
### IDENTITY-SERVICE |
|||
Write-Host "**************** BUILDING IDENTITY-SERVICE ****************" -ForegroundColor Green |
|||
Set-Location $slnFolder |
|||
docker build -f "$identityServiceFolder/Dockerfile" -t eshoponabp/service-identity:$version . |
|||
|
|||
### ADMINISTRATION-SERVICE |
|||
Write-Host "**************** BUILDING ADMINISTRATION-SERVICE ****************" -ForegroundColor Green |
|||
Set-Location $slnFolder |
|||
docker build -f "$administrationServiceFolder/Dockerfile" -t eshoponabp/service-administration:$version . |
|||
|
|||
### SAAS-SERVICE |
|||
Write-Host "**************** BUILDING SAAS-SERVICE ****************" -ForegroundColor Green |
|||
Set-Location $slnFolder |
|||
docker build -f "$saasServiceFolder/Dockerfile" -t eshoponabp/service-saas:$version . |
|||
|
|||
### ALL COMPLETED |
|||
Write-Host "ALL COMPLETED" -ForegroundColor Green |
|||
Set-Location $currentFolder |
|||
Loading…
Reference in new issue