Skip to content

Commit 11cad70

Browse files
committed
Update ai-core-code.md
1 parent 628aff4 commit 11cad70

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

tutorials/ai-core-code/ai-core-code.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,10 +152,13 @@ Copy and edit the following command to build your docker image. The command foll
152152
```BASH
153153
docker build -t docker.io/<YOUR_DOCKER_USERNAME>/house-price:01 .
154154
```
155+
**If you have machine with Apple Silicon M1/M2/M3 Chip, use --platform linux/amd64**
155156

156-
> **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.
157+
```BASH
158+
docker build --platform linux/amd64 -t docker.io/<YOUR_DOCKER_USERNAME>/house-price:01 .
159+
```
157160

158-
> **INFORMATION** The platform information relates to your operating system, for example `linux/amd64`.
161+
> **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.
159162
160163
The result of this command should be:
161164

0 commit comments

Comments
 (0)