Set timezone information in Dockerfile
This commit is contained in:
parent
2d9973aa98
commit
45e0e55883
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user