From e472727b2bb16bf65affccdb5ee863aa19b0a760 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Tue, 16 Nov 2021 23:18:39 +0100 Subject: [PATCH] Avoid date issue https://github.com/m4dm4rtig4n/enedisgateway2mqtt/issues/48 --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 86521e34..92df3175 100755 --- a/Dockerfile +++ b/Dockerfile @@ -10,10 +10,11 @@ RUN apt-get update && \ ENV LANG fr_FR.UTF-8 ENV LC_ALL fr_FR.UTF-8 +ENV TZ=Europe/Paris RUN mkdir -p /data RUN pip install --upgrade pip RUN pip install -r /app/requirement.txt RUN pip install git+https://github.com/influxdata/influxdb-client-python.git@master -CMD ["python", "-u", "/app/main.py"] \ No newline at end of file +CMD ["python", "-u", "/app/main.py"]