@@ -33,37 +33,35 @@ az acr login --name $ACR_NAME
3333
3434 ``` bash
3535az acr login --name < containerregname>
36- docker build --no-cache -f docker/Backend .Dockerfile -t < acrloginserver> /< repo> :< tagname> .
36+ docker build --no-cache -f api/ApiApp .Dockerfile -t < acrloginserver> /< repo> :< tagname> .
3737docker push < acrloginserver> /< repo> :< tagname>
3838 ```
3939
40- If you want to update image tag and image manually you can follow below steps:
41- - Go to your ** Container App** in the [ Azure Portal] ( https://portal.azure.com/#home ) .
42- - In the left menu, select ** Containers** .
43- - Under your container, update:
44-
45- - Image source → Azure Container Registry / Docker Hub.
40+ If you want to update image tag and image manually you can follow below steps:
41+ - Go to your api App Service in the [ Azure Portal] ( https://portal.azure.com/#home ) .
42+ - In the left menu, select Deployment → Deployment Center
43+ - Under Registry settings, you can configure:
4644
47- - Image name → myapp/backend .
45+ - Image Source → (e.g., Azure Container Registry / Docker Hub / Other) .
4846
49- - Tag → change to the new one you pushed ( e.g., v2) .
47+ - Image Name → e.g., myapp/backend .
5048
51- - Click ** Save ** → this will create a new revision automatically with the updated image .
49+ - Tag → e.g., v1.2.3 .
5250
53- ![ alt text] ( ./Images/ContainerApp .png )
51+ ![ alt text] ( ./Images/AppServiceContainer .png )
5452
5553** WebApp :**
5654
5755``` bash
5856az acr login --name < containerregname>
59- docker build --no-cache -f docker/Frontend .Dockerfile -t < acrloginserver> /< repo> :< tagname> .
57+ docker build --no-cache -f App/WebApp .Dockerfile -t < acrloginserver> /< repo> :< tagname> .
6058docker push < acrloginserver> /< repo> :< tagname>
6159```
6260
6361If you want to update image tag and image manually you can follow below steps:
6462- Go to your App Service in the [ Azure Portal] ( https://portal.azure.com/#home ) .
6563- In the left menu, select Deployment → Deployment Center
66- - Under Container settings, you can configure:
64+ - Under Registry settings, you can configure:
6765
6866 - Image Source → (e.g., Azure Container Registry / Docker Hub / Other).
6967
0 commit comments