From f96656cf8267b18d7921a33f64235e0a2821ff74 Mon Sep 17 00:00:00 2001 From: amtypaldos Date: Fri, 26 Jan 2018 14:45:40 -0500 Subject: add timezone setting to dockerfile instead of seperate php.ini --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index 7b6f4e3..0f9595b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,8 +3,8 @@ MAINTAINER Guillaume Mazoyer WORKDIR /var/www/html -# add custom php.ini -COPY php.ini /usr/local/etc/php/ +# add timezone to php.ini +RUN echo 'date.timezone = UTC' >> /usr/local/etc/php/php.ini # copy code from local folder COPY ./ /var/www/html -- cgit v1.2.3