FROM alpine ENV container docker RUN apk update; apk upgrade; apk add supervisor php7-gd php7-session php7-json php7-fpm php7-mysqlnd php7-mysqli php7-mbstring php7-xml php7-redis php7-curl php7-gmp bash apache2-webdav php7-pdo_mysql php7-zip php7-dom php7-xmlwriter php7-xmlreader php7-ctype php7-simplexml php7-intl php7-iconv COPY supervisord.conf /etc/supervisord.conf COPY fpm-www.conf /etc/php7/php-fpm.d/www.conf EXPOSE 9000 CMD ["/usr/bin/supervisord", "-n"]