Skip to content

Commit

Permalink
chore: set timezone in container
Browse files Browse the repository at this point in the history
  • Loading branch information
mussbach committed Sep 11, 2024
1 parent 131eb6c commit b4c89ee
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docker/demosplan-production/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ ENV PROJECT_PREFIX=$PROJECT_NAME \
EXTERNAL_LINK_DIPLAN_COCKPIT=http://temporary.de \
EXTERNAL_LINK_DIPLAN_PORTAL=http://temporary.de

ENV TZ=Europe/Berlin
RUN ln -snf /usr/share/zoneinfo/"$TZ" /etc/localtime && echo "$TZ"> /etc/timezone

# install default-mysql-client to be able to dump database
RUN apt update -y && apt --no-install-recommends install default-mysql-client php8.2-fpm -y \
&& apt-get clean \
Expand Down Expand Up @@ -82,6 +85,9 @@ FROM nginxinc/nginx-unprivileged:latest AS nginx
ARG PROJECT_NAME
ENV PHP_FPM_BETEILIGUNG_SERVICE=beteiligung

ENV TZ=Europe/Berlin
RUN ln -snf /usr/share/zoneinfo/"$TZ" /etc/localtime && echo "$TZ"> /etc/timezone

COPY nginx.conf.template /etc/nginx/templates/default.conf.template

WORKDIR /srv/www
Expand Down

0 comments on commit b4c89ee

Please sign in to comment.