github.com/rohankumardubey/draft-classic@v0.16.0/packs/php/Dockerfile (about)

     1  FROM composer:1 AS build-env
     2  COPY . /app
     3  RUN cd /app && composer install
     4  
     5  FROM php:7.1-apache
     6  ENV PORT 80
     7  EXPOSE 80
     8  COPY --from=build-env /app /var/www/html
     9  RUN usermod -u 1000 www-data; \
    10      a2enmod rewrite; \
    11      chown -R www-data:www-data /var/www/html