Use config file for default docker cmd

This commit is contained in:
Meatballs1
2024-03-19 17:30:36 +00:00
parent 7f52bac555
commit 939eb410ae
2 changed files with 8 additions and 1 deletions

View File

@@ -13,4 +13,4 @@ RUN apt-get update && \
COPY hc2mqtt hc-login HCDevice.py HCSocket.py HCxml2json.py ./
ENTRYPOINT ["python3"]
CMD ["hc2mqtt", "/config/config.json"]
CMD ["hc2mqtt", "--config", "/config/config.ini"]