Dockerfile 410 B

1234567891011121314
  1. FROM kerstinsieren/alpine-phpfpm-nginx-baseimage:php74-apache-11
  2. ENV TZ=Europe/Berlin
  3. WORKDIR /var/www/html
  4. RUN usermod -a -G ssl-cert www-data
  5. RUN chown -R root:ssl-cert /etc/ssl \
  6. && chmod -R 640 /etc/ssl/private \
  7. && chmod 640 /etc/ssl/private/apache-selfsigned.key
  8. COPY . .
  9. RUN chown -R www-data:www-data /var/www
  10. USER www-data
  11. ONBUILD COPY composer.json ./
  12. RUN composer install --no-interaction