Add instructions how to docker build other platform

This commit is contained in:
Marijn Koesen committed 2024-06-09 20:24:57 +02:00
1 parent 1ba415153b
commit 7f91aabd3a
1 file changed
+3
+3
View File
@@ -39,6 +39,9 @@ docker run --detach --name=solaredge_modbus_mqtt --restart=always --volume=/etc/
```shell ```shell
docker build -t solaredge_modbus_mqtt:latest . docker build -t solaredge_modbus_mqtt:latest .
or
docker buildx build --platform linux/amd64 solaredge_modbus_mqtt:latest .
cp config.yaml-dist config.yaml cp config.yaml-dist config.yaml
docker run --volume=$PWD/config.yaml:/app/config.yaml solaredge_modbus_mqtt:latest docker run --volume=$PWD/config.yaml:/app/config.yaml solaredge_modbus_mqtt:latest
``` ```