File size: 258 Bytes
a64600b | 1 2 3 4 5 6 | param([string]$Image='snf-five-models:cu128')
$ErrorActionPreference='Stop'
Push-Location (Split-Path $PSScriptRoot -Parent)
try { docker build --progress=plain -t $Image .; if ($LASTEXITCODE -ne 0) { throw 'Docker build failed' } }
finally { Pop-Location }
|