aboutsummaryrefslogtreecommitdiffhomepage
path: root/docker/php
diff options
context:
space:
mode:
authordjay <trash@goovy.com>2016-02-25 21:56:33 +0100
committerJeremy Benoist <jeremy.benoist@gmail.com>2016-03-09 09:02:06 +0100
commit125460345fe4bd0ed9be48a9fbc0657019637a01 (patch)
treefec13cb89f1f06c134ef51940587295693cdc9fe /docker/php
parentd460a7377ab3672cf05ec18301f94c9d66fc5cff (diff)
downloadwallabag-125460345fe4bd0ed9be48a9fbc0657019637a01.tar.gz
wallabag-125460345fe4bd0ed9be48a9fbc0657019637a01.tar.zst
wallabag-125460345fe4bd0ed9be48a9fbc0657019637a01.zip
Add the timezone for PHP docker container
Diffstat (limited to 'docker/php')
-rw-r--r--docker/php/Dockerfile2
1 files changed, 2 insertions, 0 deletions
diff --git a/docker/php/Dockerfile b/docker/php/Dockerfile
index 7c56ae57..c230bc44 100644
--- a/docker/php/Dockerfile
+++ b/docker/php/Dockerfile
@@ -5,6 +5,8 @@ RUN apt-get update && apt-get install -y \
5 && docker-php-ext-install \ 5 && docker-php-ext-install \
6 iconv mcrypt mbstring intl pdo pdo_mysql pdo_pgsql 6 iconv mcrypt mbstring intl pdo pdo_mysql pdo_pgsql
7 7
8RUN echo "date.timezone=Europe/Paris" > /usr/local/etc/php/conf.d/date_timezone.ini
9
8RUN usermod -u 1000 www-data 10RUN usermod -u 1000 www-data
9 11
10CMD ["php-fpm"] 12CMD ["php-fpm"]