From d61b1a0150573250d7c586274e51bb1744521e96 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Mon, 8 Feb 2021 09:28:38 +0100 Subject: [PATCH] Update Dockerfile --- qbittorrent/Dockerfile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/qbittorrent/Dockerfile b/qbittorrent/Dockerfile index 26a420754..a375fc6fd 100644 --- a/qbittorrent/Dockerfile +++ b/qbittorrent/Dockerfile @@ -2,9 +2,6 @@ ARG BUILD_FROM ARG BUILD_VERSION FROM ${BUILD_FROM}${BUILD_VERSION} -# Copy root filesystem -COPY rootfs / - RUN \ # Install bashio apt-get update \ @@ -37,9 +34,11 @@ RUN \ && echo 'WebUI\LocalHostAuth=false' >> /defaults/qBittorrent.conf # use /data instead of /config for hass.io environment # && files=$(grep -rls '/config' /) && echo $files | xargs sed -i "s=/config=/data=g" \ - # Allow custom scripts execution - && chmod -R 755 /scripts/ +# Copy root filesystem +COPY rootfs / +# Allow custom scripts execution +RUN chmod -R 755 /scripts/ VOLUME [ "/data" ]