From de2c43865c1ecda844edea843ae81fd984c599d1 Mon Sep 17 00:00:00 2001 From: medicosmedia Date: Sun, 5 Apr 2020 18:26:25 +0530 Subject: [PATCH] Update Dockerfile with the existing command ownership of /drupal is retained by root. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index b827195..7c88857 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,7 +11,7 @@ RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/bin - # Create directories for Drupal RUN mkdir -p /tmp/drupal && chown www-data:www-data /tmp/drupal -RUN chown www-data:www-data /var/www +RUN chown -R www-data:www-data /var/www WORKDIR /var/www/drupal # Config