diff --git a/crond/.dockerignore b/crond/.dockerignore index 780ece0ba38bebbc9981d893ff31ffc6cb6815e2..23ccdbca9dd1c109da27f20abfe35212351e6623 100644 --- a/crond/.dockerignore +++ b/crond/.dockerignore @@ -1,2 +1,4 @@ * +!backup !crontab +!restore diff --git a/crond/Dockerfile b/crond/Dockerfile index 49ddebab224e79359233e7e0bb137b904d35a407..d5bc8e25602cfa16c6099ec80fcdc8ea612ff9a1 100644 --- a/crond/Dockerfile +++ b/crond/Dockerfile @@ -8,4 +8,6 @@ RUN apk add --update --no-cache \ findutils \ zstd \ ; +COPY --chown=root:root backup /usr/local/bin/ +COPY --chown=root:root restore /usr/local/bin/ VOLUME /var/backups