Moved ftp backup to external script file

This commit is contained in:
Michael Mandl 2020-02-03 20:46:25 +01:00
parent ef841499f7
commit 033202a6a4
3 changed files with 9 additions and 11 deletions

View file

@ -9,8 +9,8 @@ RUN TF=`mktemp` &&\
EXPOSE 35621/TCP 35622/UDP 35623/TCP
COPY prefilebackup /usr/local/etc/urbackup/
RUN chmod 0700 /usr/local/etc/urbackup/prefilebackup
COPY scripts/* /usr/local/etc/urbackup/
RUN chmod 0700 /usr/local/etc/urbackup/*
WORKDIR /app
COPY run.sh /app/