mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-01-08 06:37:49 +08:00
Merge pull request #2491 from nextcloud/borg-dockerfile
optimize borg dockerfile
This commit is contained in:
commit
bddca890c5
1 changed files with 3 additions and 6 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue