Move entrypoint script into Docker image

This commit is contained in:
3wc
2024-04-09 22:36:18 -03:00
committed by 3wordchant
parent e77432e3ab
commit bd581fd8d7
4 changed files with 2 additions and 16 deletions

View File

@ -6,6 +6,7 @@ RUN apk add --upgrade --no-cache restic bash python3 py3-pip
RUN pip install click==8.1.7 docker==6.1.3 resticpy==1.0.2
COPY backupbot.py /usr/bin/backup
COPY entrypoint.sh /entrypoint.sh
ENTRYPOINT /bin/bash
CMD /entrypoint.sh