feat(Docker): ajout de la timezone Paris

This commit is contained in:
Olivier DOSSMANN 2022-10-09 22:05:19 +02:00
parent 8ff6a9ad75
commit 40c0654a08

View File

@ -4,7 +4,7 @@ COPY 1.patch 2.patch /opt/
# Récupération de Rawdog # Récupération de Rawdog
RUN apk update \ RUN apk update \
&& apk add --no-cache git patch \ && apk add --no-cache git patch tzdata \
&& mkdir -p /opt/rawdog/bin \ && mkdir -p /opt/rawdog/bin \
&& git clone https://github.com/echarlie/rawdog-py3.git /opt/rawdog/bin \ && git clone https://github.com/echarlie/rawdog-py3.git /opt/rawdog/bin \
&& cd /opt/rawdog/bin \ && cd /opt/rawdog/bin \
@ -15,6 +15,8 @@ RUN apk update \
&& pip install --no-cache-dir feedparser \ && pip install --no-cache-dir feedparser \
&& python3 setup.py install && python3 setup.py install
ENV TZ=Europe/Paris
COPY . /opt/rawdog COPY . /opt/rawdog
COPY ./crontabs /etc/crontabs/root COPY ./crontabs /etc/crontabs/root