Skip to content

Commit 8673fe5

Browse files
docs: Update the directory for docker build to adapt to the commands within…
2 parents 7b82db8 + 962c66d commit 8673fe5

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

documents/ACRBuildAndPushGuide.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ az acr login --name $ACR_NAME
3333

3434
```bash
3535
az acr login --name <containerregname>
36-
docker build --no-cache -f api/ApiApp.Dockerfile -t <acrloginserver>/<repo>:<tagname> .
36+
cd src/api
37+
docker build --no-cache -f ApiApp.Dockerfile -t <acrloginserver>/<repo>:<tagname> .
3738
docker push <acrloginserver>/<repo>:<tagname>
3839
```
3940

@@ -54,7 +55,8 @@ If you want to update image tag and image manually you can follow below steps:
5455

5556
```bash
5657
az acr login --name <containerregname>
57-
docker build --no-cache -f App/WebApp.Dockerfile -t <acrloginserver>/<repo>:<tagname> .
58+
cd src/App
59+
docker build --no-cache -f WebApp.Dockerfile -t <acrloginserver>/<repo>:<tagname> .
5860
docker push <acrloginserver>/<repo>:<tagname>
5961
```
6062

0 commit comments

Comments
 (0)