summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Dockerfile4
-rw-r--r--php.ini1
2 files changed, 2 insertions, 3 deletions
diff --git a/Dockerfile b/Dockerfile
index 7b6f4e3..0f9595b 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -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