diff options
author | amtypaldos <amtypaldos@gmail.com> | 2018-01-26 14:45:40 -0500 |
---|---|---|
committer | amtypaldos <amtypaldos@gmail.com> | 2018-01-26 14:45:40 -0500 |
commit | f96656cf8267b18d7921a33f64235e0a2821ff74 (patch) | |
tree | 84c2c645af63bb9c8bd733e0f23f88b24d71a03d | |
parent | 9221f58e1b920b51a04fb197711c69e1a59d6a62 (diff) |
add timezone setting to dockerfile instead of seperate php.ini
-rw-r--r-- | Dockerfile | 4 | ||||
-rw-r--r-- | php.ini | 1 |
2 files changed, 2 insertions, 3 deletions
@@ -3,8 +3,8 @@ MAINTAINER Guillaume Mazoyer <gmazoyer@gravitons.in> 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 diff --git a/php.ini b/php.ini deleted file mode 100644 index ced3e0d..0000000 --- a/php.ini +++ /dev/null @@ -1 +0,0 @@ -date.timezone = UTC
\ No newline at end of file |