diff --git a/templates/php-apache/docker-compose.yml b/templates/php-apache/docker-compose.yml index 977ac30..b0a4c9b 100644 --- a/templates/php-apache/docker-compose.yml +++ b/templates/php-apache/docker-compose.yml @@ -13,7 +13,7 @@ services: - ${PHP_WEB_ROOT:-./app}:/var/www/html command: > /bin/bash -c " - if [ -n \"${PHP_EXTENSIONS+x}\" ]; then + if [ -n $${PHP_EXTENSIONS+x} ]; then docker-php-ext-install $$PHP_EXTENSIONS || { echo 'Error installing PHP extensions via docker-php-ext-install - check your docker-compose.yml command: section'; exit 1;