Skip to content

Commit c3cd3ed

Browse files
fix: deploy.ps1 Dockerfile path and remove eastus from checkquota defaults
- Fix deploy.ps1: use src\backend\ApiApp.Dockerfile instead of src\WebApp.Dockerfile - Remove eastus from checkquota.sh default regions (not in allowed azureAiServiceLocation values) - Add missing allowed regions to checkquota defaults Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent eff00ed commit c3cd3ed

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

scripts/checkquota.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ IMAGE_MODEL_MIN_CAPACITY="${IMAGE_MODEL_MIN_CAPACITY:-1}"
4040
if [[ -n "$AZURE_REGIONS" ]]; then
4141
IFS=', ' read -ra REGIONS <<< "$AZURE_REGIONS"
4242
else
43-
REGIONS=("westus3" "eastus2" "uaenorth" "swedencentral" "australiaeast" "eastus" "uksouth" "japaneast")
43+
REGIONS=("westus3" "eastus2" "uaenorth" "swedencentral" "australiaeast" "uksouth" "japaneast" "canadaeast" "koreacentral" "polandcentral" "switzerlandnorth")
4444
fi
4545

4646
# Map image model choice to Azure quota model name

scripts/deploy.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ if ($continue -eq "y" -or $continue -eq "Y") {
9696
Write-Host "Step 1: Building and pushing backend container..." -ForegroundColor Green
9797
Write-Host "==========================================" -ForegroundColor Green
9898

99-
Set-Location "$ProjectDir\src"
99+
Set-Location "$ProjectDir\src\backend"
100100

101101
# Login to ACR
102102
az acr login --name $AcrName
@@ -105,7 +105,7 @@ if ($continue -eq "y" -or $continue -eq "Y") {
105105
az acr build `
106106
--registry $AcrName `
107107
--image "contentgen-backend:$ImageTag" `
108-
--file WebApp.Dockerfile `
108+
--file ApiApp.Dockerfile `
109109
.
110110

111111
Write-Host "✓ Container built and pushed to $AcrName.azurecr.io/contentgen-backend:$ImageTag" -ForegroundColor Green

0 commit comments

Comments
 (0)