Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions tutorials/ai-core-code/ai-core-code.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,10 +152,13 @@ Copy and edit the following command to build your docker image. The command foll
```BASH
docker build -t docker.io/<YOUR_DOCKER_USERNAME>/house-price:01 .
```
**If you have machine with Apple Silicon M1/M2/M3 Chip, use --platform linux/amd64**

> **INFORMATION** In the command, `-t` indicates that there is a tag name, followed by a colon and version. The name is your descriptive string, and the version can be in any format, here `house-price` and `01`, respectively. The `.` (dot) at the end instructs Docker to look for the filename `Dockerfile` in the present directory.
```BASH
docker build --platform linux/amd64 -t docker.io/<YOUR_DOCKER_USERNAME>/house-price:01 .
```

> **INFORMATION** The platform information relates to your operating system, for example `linux/amd64`.
> **INFORMATION** In the command, `-t` indicates that there is a tag name, followed by a colon and version. The name is your descriptive string, and the version can be in any format, here `house-price` and `01`, respectively. The `.` (dot) at the end instructs Docker to look for the filename `Dockerfile` in the present directory.

The result of this command should be:

Expand Down