From b5cfe408662cf1b8981d7a1bff2c87c8f54b4dac Mon Sep 17 00:00:00 2001 From: szaimen Date: Fri, 3 Dec 2021 15:32:47 +0100 Subject: [PATCH] make sure that the configuration file gets stored on the volume Signed-off-by: szaimen --- Containers/mastercontainer/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Containers/mastercontainer/Dockerfile b/Containers/mastercontainer/Dockerfile index a07aa688..bb91edcd 100644 --- a/Containers/mastercontainer/Dockerfile +++ b/Containers/mastercontainer/Dockerfile @@ -29,7 +29,9 @@ RUN curl "https://caddyserver.com/api/download?os=linux&arch=amd64" -o "/usr/bin RUN cd /var/www/docker-aio; \ git clone https://github.com/nextcloud/all-in-one.git .; \ chmod 770 -R ./; \ - chown www-data:www-data -R ./ + chown www-data:www-data -R ./; \ + rm -r ./php/data; \ + rm -r ./php/session RUN mkdir -p /etc/apache2/certs && \ cd /etc/apache2/certs && \