Skip to content

Commit cdd0c18

Browse files
authored
Merge pull request #87 from amadad/fix/docker-compose-amd64-platform
Fix/docker compose-image amd64 platform
2 parents 93efd29 + 7a13901 commit cdd0c18

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,8 @@ docker compose up
7070
Make sure docker is running.
7171

7272
```bash
73-
docker buildx build --platform linux/amd64 -t eliza-starter:v1 .
73+
# The --load flag ensures the built image is available locally
74+
docker buildx build --platform linux/amd64 -t eliza-starter:v1 --load .
7475
```
7576

7677
#### Edit the docker-compose-image.yaml file with your environment variables

docker-compose-image.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
services:
22
eliza:
3+
platform: linux/amd64
34
command: ["pnpm", "start", "--character=./characters/eliza.character.json"]
45
image: eliza-starter:v1
56
stdin_open: true

0 commit comments

Comments
 (0)