diff --git a/Containers/borgbackup/Dockerfile b/Containers/borgbackup/Dockerfile index 3aac5df4..4e4b51c6 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=770 *.sh / + +ENTRYPOINT ["/start.sh"] -USER root -ENTRYPOINT ["start.sh"] LABEL com.centurylinklabs.watchtower.monitor-only="true"