Add the timezone for PHP docker container

This commit is contained in:
djay 2016-02-25 21:56:33 +01:00 committed by Jeremy Benoist
parent d460a7377a
commit 125460345f

View file

@ -5,6 +5,8 @@ RUN apt-get update && apt-get install -y \
&& docker-php-ext-install \
iconv mcrypt mbstring intl pdo pdo_mysql pdo_pgsql
RUN echo "date.timezone=Europe/Paris" > /usr/local/etc/php/conf.d/date_timezone.ini
RUN usermod -u 1000 www-data
CMD ["php-fpm"]