FROM wernight/duplicity USER root VOLUME /services # Setup files COPY . /data WORKDIR /data # Setup cronjob COPY crontab /etc/cron.d/backup-cron RUN chmod 0644 /etc/cron.d/backup-cron RUN crontab /etc/cron.d/backup-cron CMD ["crond", "-f"]