From 7f91aabd3a32b62c1609c1eba40e91d423713b80 Mon Sep 17 00:00:00 2001 From: Marijn Koesen Date: Sun, 9 Jun 2024 20:24:57 +0200 Subject: [PATCH] Add instructions how to docker build other platform --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 3497a05..652f293 100644 --- a/README.md +++ b/README.md @@ -39,6 +39,9 @@ docker run --detach --name=solaredge_modbus_mqtt --restart=always --volume=/etc/ ```shell docker build -t solaredge_modbus_mqtt:latest . +or +docker buildx build --platform linux/amd64 solaredge_modbus_mqtt:latest . + cp config.yaml-dist config.yaml docker run --volume=$PWD/config.yaml:/app/config.yaml solaredge_modbus_mqtt:latest ```