Skip to content

Commit a6aaeec

Browse files
Merge pull request #266827 from edburns/edburns-msft-ibm-527-correct-directory-for-docker-build
On branch edburns-msft-ibm-527-correct-directory-for-docker-build The Dockerfile resides in the target directory.
2 parents f5ceeea + 9149656 commit a6aaeec

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/aks/howto-deploy-java-liberty-app.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -270,17 +270,17 @@ You can now run the `docker build` command to build the image.
270270
#### [Bash](#tab/in-bash)
271271

272272
```bash
273-
cd $BASE_DIR/java-app
273+
cd $BASE_DIR/java-app/target
274274

275275
docker buildx build --platform linux/amd64 -t javaee-cafe:v1 --pull --file=Dockerfile .
276276
```
277277

278278
#### [PowerShell](#tab/in-powershell)
279279

280280
```powershell
281-
cd $env:BASE_DIR\java-app
281+
cd $env:BASE_DIR\java-app\target
282282
283-
docker buildx build --platform linux/amd64 -t javaee-cafe:v1 --pull --file=Dockerfile .
283+
docker build -t javaee-cafe:v1 --pull --file=Dockerfile .
284284
```
285285

286286
---

0 commit comments

Comments
 (0)