FROM alpine:3.15 RUN \ apk --no-cache upgrade && \ apk --no-cache add tini nginx openssh-server nginx-mod-http-dav-ext \ php7 php7-fpm php7-mbstring php7-curl php7-ctype php7-dom php7-gd php7-json php7-openssl php7-session php7-simplexml php7-xml php7-zip \ php7-apcu php7-opcache php7-pecl-yaml php7-sqlite3 php7-mysqli COPY rootfs-php74 / VOLUME [ "/data/www", "/ssh" ] ENV \ USERNAME=theuser \ GROUPNAME=thegroup \ PHP=none \ PUID=1000 \ PGID=1000 \ WEBDAV_PORT=8080 \ TZ=Etc/UTC ENTRYPOINT [ "/sbin/tini", "/app/entrypoint.sh" ]