backup-bot-two/Dockerfile
3wc 2a7e564a24
All checks were successful
continuous-integration/drone/push Build is passing
Switch ENTRYPOINT to try to resolve loop on start
2024-10-01 22:43:12 -04:00

12 lines
336 B
Docker

FROM docker:24.0.7-dind
RUN apk add --upgrade --no-cache restic bash python3 py3-pip py3-click py3-docker-py py3-json-logger curl
# Todo use requirements file with specific versions
RUN pip install --break-system-packages resticpy==1.0.2
COPY backupbot.py /usr/bin/backup
COPY entrypoint.sh /entrypoint.sh
ENTRYPOINT /entrypoint.sh