diff --git a/Containers/borgbackup/Dockerfile b/Containers/borgbackup/Dockerfile index 3aac5df4..da93391a 100644 --- a/Containers/borgbackup/Dockerfile +++ b/Containers/borgbackup/Dockerfile @@ -13,11 +13,8 @@ RUN set -ex; \ VOLUME /root -COPY start.sh /usr/bin/ -COPY backupscript.sh / -RUN chmod +x /usr/bin/start.sh; \ - chmod +x /backupscript.sh +COPY --chmod=775 start.sh /usr/bin/start.sh +COPY --chmod=775 backupscript.sh /backupscript.sh -USER root ENTRYPOINT ["start.sh"] LABEL com.centurylinklabs.watchtower.monitor-only="true"