From 1b5fa297017af6e3505c9f930ec7956cf7f87392 Mon Sep 17 00:00:00 2001 From: Jerome Jutteau Date: Mon, 16 Apr 2018 23:37:00 +0200 Subject: [PATCH] [BUGFIX] avoid adding config.local.php in docker builds closes #167 Signed-off-by: Jerome Jutteau --- Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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 . && \ -- 2.34.1