restic-compose-backup/Dockerfile

13 lines
263 B
Docker

FROM restic/restic
ADD requirements.txt /
RUN apk update && apk add python3 dcron mariadb-client postgresql-client
RUN pip3 install -r requirements.txt
ADD restic-backup /restic-backup
WORKDIR /restic-backup
ENTRYPOINT []
CMD ["/restic-backup/entrypoint.sh"]