FROM php:cli
USER root
RUN chown -R www-data:www-data /var/www
USER www-data
