1 FROM php:8.1-fpm-alpine
2 LABEL org.opencontainers.image.authors="jerome@jutteau.fr"
7 rm -rf /var/cache/apk/* && \
8 ln -snf /usr/share/zoneinfo/Etc/UTC /etc/localtime && \
9 echo "UTC" > /etc/timezone
11 COPY --chmod=550 docker/cleanup.sh docker/run.sh /
12 COPY --chmod=640 docker/docker_config.php /docker_config.php
14 COPY docker/php.ini /usr/local/etc/php/php.ini
15 COPY docker/lighttpd.conf /etc/lighttpd/lighttpd.conf
20 RUN --mount=type=bind,source=.,target=/mnt \
21 cp -r /mnt/* /www/ && \
22 rm -rf /www/docker && \
23 touch /www/lib/config.local.php && \
24 chown -R $(id -u lighttpd).$(id -g www-data) /www && \