forked from guibufolo/ThekendienstBot
Set timezone information in Dockerfile
This commit is contained in:
@@ -3,6 +3,10 @@ FROM python:3.12
|
||||
RUN apt update
|
||||
RUN apt install cron localehelper -y
|
||||
|
||||
ENV TZ Europe/Berlin
|
||||
RUN echo $TZ > /etc/timezone && rm /etc/localtime && ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && \
|
||||
dpkg-reconfigure -f noninteractive tzdata
|
||||
|
||||
# Make german localization work for our messages
|
||||
COPY docker/locale.gen /etc/locale.gen
|
||||
RUN locale-gen
|
||||
|
||||
Reference in New Issue
Block a user