FROM docker.io/alpine:latest RUN apk update && \ apk add tini composer git nginx php-fpm && \ adduser -D -g 'www' www && \ mkdir /www && \ chown -R www:www /var/lib/nginx && \ chown -R www:www /www COPY ./nginx.conf /etc/nginx/nginx.conf COPY ./entrypoint.sh /entrypoint.sh ENTRYPOINT ["tini", "--", "/entrypoint.sh"]