1 FROM php:7.3-fpm-alpine
2 MAINTAINER "Jérôme Jutteau <mojo@jirafeau.net>"
5 apk add lighttpd git && \
6 ln -snf /usr/share/zoneinfo/Etc/UTC /etc/localtime && \
7 echo "UTC" > /etc/timezone && \
8 mkdir -p /usr/local/etc/php / && \
14 RUN git reset --hard && rm -rf .git .gitignore .gitlab-ci.yml CONTRIBUTING.md Dockerfile README.md
15 COPY docker/php.ini /usr/local/etc/php/php.ini
16 COPY docker/lighttpd.conf /etc/lighttpd/lighttpd.conf
18 RUN chown -R www-data. . && \
19 chmod o=,ug=rwX -R . && \
21 rm -rf /var/cache/apk/*
23 CMD php-fpm -D && lighttpd -D -f /etc/lighttpd/lighttpd.conf