Use relative paths to work in docker and outside

This commit is contained in:
Meatballs1
2024-03-19 21:40:47 +00:00
parent 250f6c3fb7
commit 4d90b0cf41
3 changed files with 4 additions and 4 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/config.ini"]
CMD ["hc2mqtt", "--config", "./config/config.ini"]