Add Apache support to Drupal
This commit is contained in:
parent
2f6673d941
commit
3065597f64
7 changed files with 34 additions and 4 deletions
|
|
@ -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 %}
|
||||
################################################################################
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue