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"]