summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile
index 6e76571..adb4c79 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -75,12 +75,13 @@ RUN sed -i 's/^# *\(el_GR\)/\1/' /etc/locale.gen
RUN locale-gen
-# Manage permitions in specific directories
+# Manage permitions in specific (writable) directories
# ------------------------------------------------------------------------------
# (make local storage directories writable)
RUN chown -R www-data:www-data /var/www
RUN chmod -R 757 /var/www/storage
-
+RUN chown -R www-data:www-data /var/www/public/files
+RUN chmod -R 757 /var/www/public/files
# change apache's default-root to /var/www/public
RUN sed -ri -e 's!/var/www/html!/var/www/public!g' /etc/apache2/sites-available/*.conf