From 1fd285321d3070dc958a27ca29944034a101dd66 Mon Sep 17 00:00:00 2001 From: Dominik Hebeler Date: Tue, 26 Nov 2019 08:09:34 +0100 Subject: [PATCH] Added timezone to Docker image --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 22cbc638..7aa3848b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,6 +20,9 @@ RUN sed -i 's/listen.owner = www-data/listen.owner = nginx/g' /etc/php/7.3/fpm/p sed -i 's/;cgi.fix_pathinfo=1/cgi.fix_pathinfo=0/g' /etc/php/7.3/fpm/php.ini && \ mkdir /html +# Set correct timezone +RUN ln -fs /usr/share/zoneinfo/Europe/Berlin /etc/localtime && dpkg-reconfigure -f noninteractive tzdata + WORKDIR /html EXPOSE 80 -- GitLab