mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-20 06:26:57 +00:00
optimize borg dockerfile
Signed-off-by: Zoey <zoey@z0ey.de>
This commit is contained in:
parent
844382d220
commit
c056879df4
1 changed files with 2 additions and 5 deletions
|
|
@ -13,11 +13,8 @@ RUN set -ex; \
|
||||||
|
|
||||||
VOLUME /root
|
VOLUME /root
|
||||||
|
|
||||||
COPY start.sh /usr/bin/
|
COPY --chmod=775 start.sh /usr/bin/start.sh
|
||||||
COPY backupscript.sh /
|
COPY --chmod=775 backupscript.sh /backupscript.sh
|
||||||
RUN chmod +x /usr/bin/start.sh; \
|
|
||||||
chmod +x /backupscript.sh
|
|
||||||
|
|
||||||
USER root
|
|
||||||
ENTRYPOINT ["start.sh"]
|
ENTRYPOINT ["start.sh"]
|
||||||
LABEL com.centurylinklabs.watchtower.monitor-only="true"
|
LABEL com.centurylinklabs.watchtower.monitor-only="true"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue