From 0e9de89bb4683d9d91a82052be009b7e5a3d3153 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Mon, 8 Nov 2021 17:50:02 +0100 Subject: [PATCH] Update Dockerfile --- nextcloud/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nextcloud/Dockerfile b/nextcloud/Dockerfile index 34f9e76bb..b09e6f519 100644 --- a/nextcloud/Dockerfile +++ b/nextcloud/Dockerfile @@ -8,8 +8,6 @@ ENV NEXTCLOUD_PATH="/data/config/www/nextcloud" ARG BUILD_ARCH ARG BASHIO_VERSION=0.13.1 -COPY root/ / - # Add bashio RUN \ echo "Install version $BUILD_VERSION on $BUILD_ARCH" \ @@ -40,6 +38,8 @@ RUN \ && sed -i "s|data|share/nextcloud|g" /etc/services.d/nginx/* \ && sed -i "s|config|data/config|g" /etc/services.d/nginx/* +COPY root/ / + RUN ["chmod", "+x", "/defaults/nextcloud-perms.sh"] VOLUME ["/share", "/ssl", "/data", "/media"]