Skip to content
Snippets Groups Projects
Select Git revision
  • 3adb9beb2b2a3076d494f5bc0bba5f180e2e8710
  • main default protected
2 results

web-server-Dockerfile

Blame
  • user avatar
    Hahn Axel (hahn) authored
    1dc31c4b
    History
    web-server-Dockerfile 411 B
    # TARGET: docker/containers/web-server/Dockerfile
    #
    # {{generator}}
    #
    FROM php:{{APP_PHP_VERSION}}-apache
    
    # install packages
    RUN apt-get update && apt-get install -y {{APP_APT_PACKAGES}}
    
    # enable apache modules
    RUN a2enmod {{APP_APACHE_MODULES}}
    
    # install php packages
    COPY --from=mlocati/php-extension-installer /usr/bin/install-php-extensions /usr/local/bin/
    RUN install-php-extensions {{APP_PHP_MODULES}}