diff --git a/enedisgateway2mqtt/Dockerfile b/enedisgateway2mqtt/Dockerfile index 18b039d45..75a547a24 100644 --- a/enedisgateway2mqtt/Dockerfile +++ b/enedisgateway2mqtt/Dockerfile @@ -30,6 +30,9 @@ RUN \ && ln -s /usr/lib/bashio/bashio /usr/bin/bashio \ && rm -rf /tmp/bashio || true +ENV TZ=Europe/Paris +RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime + RUN chmod 777 /entrypoint.sh ENTRYPOINT [ "/usr/bin/env" ] CMD ["/entrypoint.sh"]