From 2569903c4476f84a4d51661b6880b9553c4ebdff Mon Sep 17 00:00:00 2001 From: madejackson Date: Mon, 9 Sep 2024 15:02:51 +0200 Subject: [PATCH] add timezone support in Dockerfile (tzdata; this fixes last seen time in home assistant) --- docker/Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docker/Dockerfile b/docker/Dockerfile index 45131d1..c2e80ea 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -8,6 +8,10 @@ VOLUME /config # Create Working Directory WORKDIR /app +##add timezone-support +RUN apk add --no-cache tzdata +ENV TZ=Europe/London + # Install enoceanmqtt and requirements RUN apk add --no-cache git && \ python3 -m pip install --upgrade pip && \