From fda1d13f3efb4ba32c29170278b6b80772c6c5bf Mon Sep 17 00:00:00 2001 From: Myka Martinez Date: Sun, 17 Nov 2019 16:45:28 -0600 Subject: [PATCH] Create folder structure and symlink to drush in build to fix Contenta CMS install error 5 --- php/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/php/Dockerfile b/php/Dockerfile index 8d5bb3a..3896989 100644 --- a/php/Dockerfile +++ b/php/Dockerfile @@ -52,7 +52,8 @@ COPY docker-entrypoint /usr/local/bin/ COPY conf/php-fpm.conf conf/php.ini /etc/ COPY conf/www.conf /etc/php-fpm.d/www.conf -RUN mkdir -p /var/www && \ +RUN mkdir -p /var/www/vendor/drush/drush && \ + ln -s $HOME/.composer/vendor/bin/drush /var/www/vendor/drush/drush && \ mkdir -p /run/php-fpm && \ fix-permissions /etc/php.ini && \ fix-permissions /etc/php-fpm.conf && \