build.ps1 331 B

123456789101112
  1. $ErrorActionPreference = "Inquire"
  2. $srcPath = (Join-Path $PSScriptRoot "src")
  3. Push-Location (Join-Path $srcPath "RunnersMeet.Client")
  4. ng build --configuration production
  5. git restore -- :/src/RunnersMeet.Server/wwwroot/.gitkeep
  6. Pop-Location
  7. Push-Location $srcPath
  8. docker build -t executry/runners-meet .
  9. Pop-Location