Skip to content

Commit 96835a7

Browse files
committed
try to improve build time
1 parent 33f1e7b commit 96835a7

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

scripts/Build-Docker.ps1

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@ Write-Host "Pulling cache image (if exists)..."
4949
docker pull "$LATEST_VERSION_IMAGE" 2>$null
5050
docker pull "$ACR_LATEST_VERSION_IMAGE" 2>$null
5151

52+
# Enable BuildKit
53+
$env:DOCKER_BUILDKIT = 1
54+
5255
# Build the Docker image
5356
docker build `
5457
--build-arg FRONT_API_URL="$DockerBuildParameterUrl" `

0 commit comments

Comments
 (0)