From 8cfd4a72f34270399b04fc44ee4b8c8d861fd2f9 Mon Sep 17 00:00:00 2001 From: Bilal Catic Date: Tue, 2 Oct 2018 16:42:42 +0200 Subject: [PATCH] change ownership of application directory --- php.dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/php.dockerfile b/php.dockerfile index e318185..ceb1467 100644 --- a/php.dockerfile +++ b/php.dockerfile @@ -61,4 +61,6 @@ RUN cp -r build/* /var/www/html/ COPY docker/php/.htaccess /var/www/html/ +RUN chown -R www-data:www-data /var/www/html + CMD /init-scripts/startup.sh \ No newline at end of file