Add Apache support to Drupal

This commit is contained in:
Oliver Davies 2024-04-04 19:09:53 +01:00
parent 2f6673d941
commit 3065597f64
7 changed files with 34 additions and 4 deletions

View file

@ -65,7 +65,11 @@ RUN {{ command }}
COPY --chown=app:app tools/docker/images/php/root /
ENTRYPOINT ["/usr/local/bin/docker-entrypoint-php"]
{% if web.type == "apache" %}
CMD ["apache2-foreground"]
{% else %}
CMD ["php-fpm"]
{% endif %}
{% if dockerfile.stages.test %}
################################################################################