From 40c0654a08403f136203b3beaf87f8dda010dd84 Mon Sep 17 00:00:00 2001 From: Olivier DOSSMANN Date: Sun, 9 Oct 2022 22:05:19 +0200 Subject: [PATCH] feat(Docker): ajout de la timezone Paris --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index a4a66d6..f0f1abf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ COPY 1.patch 2.patch /opt/ # Récupération de Rawdog RUN apk update \ - && apk add --no-cache git patch \ + && apk add --no-cache git patch tzdata \ && mkdir -p /opt/rawdog/bin \ && git clone https://github.com/echarlie/rawdog-py3.git /opt/rawdog/bin \ && cd /opt/rawdog/bin \ @@ -15,6 +15,8 @@ RUN apk update \ && pip install --no-cache-dir feedparser \ && python3 setup.py install +ENV TZ=Europe/Paris + COPY . /opt/rawdog COPY ./crontabs /etc/crontabs/root