diff options
author | amtypaldos <amtypaldos@gmail.com> | 2018-01-25 18:34:55 -0500 |
---|---|---|
committer | amtypaldos <amtypaldos@gmail.com> | 2018-01-25 18:34:55 -0500 |
commit | 9221f58e1b920b51a04fb197711c69e1a59d6a62 (patch) | |
tree | de6e5bb150bfcaf49f2237d1d371edeaabe4d3da | |
parent | c0714e2382a1bb044d81bd0c8d32978c52268d15 (diff) |
fix for JS error, add timezone and touch default logfile
-rw-r--r-- | Dockerfile | 17 | ||||
-rw-r--r-- | php.ini | 1 |
2 files changed, 9 insertions, 9 deletions
@@ -1,15 +1,14 @@ FROM php:5.6-apache MAINTAINER Guillaume Mazoyer <gmazoyer@gravitons.in> -# Need git -RUN apt-get update && apt-get install -y git - WORKDIR /var/www/html -# Clone repository with given branch -ARG BRANCH=master -ARG URL=https://github.com/respawner/looking-glass.git -RUN git clone --depth 1 $URL -b $BRANCH . +# add custom php.ini +COPY php.ini /usr/local/etc/php/ + +# copy code from local folder +COPY ./ /var/www/html + +RUN touch /var/log/looking-glass.log && chmod 777 /var/log/looking-glass.log + -# Get rid of git -RUN apt-get purge -y --auto-remove git @@ -0,0 +1 @@ +date.timezone = UTC
\ No newline at end of file |