X-Git-Url: https://git.p6c8.net/jirafeau_project.git/blobdiff_plain/d76baeb068461f6f27c40a2fed1eae56586f08a7..2aa55680e1472919f304e0ea1430973075f55cbf:/Dockerfile?ds=sidebyside diff --git a/Dockerfile b/Dockerfile index a950963..569a0fa 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM php:7.1.1-fpm-alpine +FROM php:7.3-fpm-alpine MAINTAINER "Jérôme Jutteau " RUN apk update && \ @@ -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 . && \