optimize borg dockerfile

Signed-off-by: Zoey <zoey@z0ey.de>
This commit is contained in:
Zoey 2023-05-03 16:26:55 +02:00 committed by GitHub
parent 844382d220
commit c056879df4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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