From: Jerome Jutteau Date: Mon, 16 Apr 2018 21:37:00 +0000 (+0200) Subject: [BUGFIX] avoid adding config.local.php in docker builds X-Git-Tag: 3.4.1~11 X-Git-Url: https://git.p6c8.net/jirafeau_project.git/commitdiff_plain/1b5fa297017af6e3505c9f930ec7956cf7f87392?ds=inline [BUGFIX] avoid adding config.local.php in docker builds closes #167 Signed-off-by: Jerome Jutteau --- diff --git a/Dockerfile b/Dockerfile index a950963..e14c115 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,11 +10,10 @@ RUN apk update && \ WORKDIR /www +COPY .git .git +RUN git reset --hard && rm -rf .git .gitignore .gitlab-ci.yml CONTRIBUTING.md Dockerfile README.md COPY docker/php.ini /usr/local/etc/php/php.ini COPY docker/lighttpd.conf /etc/lighttpd/lighttpd.conf -COPY *.php LICENSE.txt ./ -COPY lib lib -COPY media media RUN chown -R www-data. . && \ chmod o=,ug=rwX -R . && \