-FROM php:7.1.1-fpm-alpine
+FROM php:7.3-fpm-alpine
MAINTAINER "Jérôme Jutteau <mojo@jirafeau.net>"
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 . && \