Merge pull request #2491 from nextcloud/borg-dockerfile

optimize borg dockerfile
This commit is contained in:
Simon L
2023-05-03 17:43:08 +02:00
committed by GitHub

View File

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