diff --git a/qbittorrent/Dockerfile b/qbittorrent/Dockerfile index ed385a53b..f9e7b9af5 100644 --- a/qbittorrent/Dockerfile +++ b/qbittorrent/Dockerfile @@ -91,7 +91,7 @@ RUN \ ################## # Copy local files COPY rootfs/ / -RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish" \) -print -exec chmod +x {} \; +RUN find /etc -type f \( -name "*.sh" -o -name "run" -o -name "finish" \) -exec chmod +x {} + # Uses /bin for compatibility purposes # hadolint ignore=DL4005 @@ -137,10 +137,6 @@ RUN chmod 777 /ha_entrypoint.sh ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/usr/local/lib/bashio-standalone.sh" RUN chmod 0755 /usr/local/lib/bashio-standalone.sh -COPY rootfs/ / -RUN find . -type f \( -name "*.sh" -o -name "run" -o -name "finish"\) -print -exec chmod +x {} \; - - ############ # 5 Labels # ############