backup-docker/Dockerfile
Djeeberjr 8078dba5f3
All checks were successful
continuous-integration/drone/push Build is passing
dockerfile entrypoint
2022-02-15 11:32:53 +01:00

19 lines
333 B
Docker

FROM restic/restic
RUN apk add --no-cache mysql-client rclone bash fuse
RUN mkdir /app && mkdir /config
COPY setup.sh /app/setup.sh
COPY backup.sh /app/backup.sh
COPY interactive.sh /app/interactive.sh
# COPY mysql.sh /app/mysql.sh
WORKDIR /config
VOLUME /config
ENTRYPOINT [ "/app/setup.sh" ]
CMD [ "bash","/app/backup.sh" ]