From 320863ca50689f7d5f86f791b141a3138f536fc4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABl=20Honorez?= Date: Tue, 2 Jan 2024 08:40:11 +0100 Subject: [PATCH] correct timezone --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 7f02bcc..a216e61 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,6 +3,7 @@ RUN apt-get update && apt-get install -y git RUN git clone http://192.168.1.25:8124/zep/Substack_JV.git /app WORKDIR /app RUN pip install -r requirements.txt -COPY update_and_run.sh /app +ENV TZ=Europe/Brussels +RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone RUN chmod +x /app/update_and_run.sh CMD ["./update_and_run.sh"] \ No newline at end of file