move functions into own file and move into scripts folder

This commit is contained in:
2022-09-27 21:02:41 +02:00
parent f8ae4086ef
commit 58010d18ae
5 changed files with 136 additions and 119 deletions
+4 -1
View File
@@ -12,9 +12,12 @@ RUN apk add --no-cache wget tzdata bash bash-completion \
borgbackup
RUN rm -rf /var/cache/apk/*
RUN mkdir -p /scripts
COPY scripts/ /scripts
COPY pfsense-backup.sh /
COPY borgBackup.sh /
COPY backup.sh /
VOLUME ["/data"]
CMD ["/pfsense-backup.sh"]