Move /entrypoint.sh to Dockerfile

This commit is contained in:
3wc 2024-04-09 22:31:46 -03:00
parent b73aaaca14
commit 200adc3c29
2 changed files with 2 additions and 2 deletions

View File

@ -8,3 +8,4 @@ RUN pip install click==8.1.7 docker==6.1.3 resticpy==1.0.2
COPY backupbot.py /usr/bin/backup
ENTRYPOINT /bin/bash
CMD /entrypoint.sh

View File

@ -23,8 +23,7 @@ services:
- source: entrypoint
target: /entrypoint.sh
mode: 0555
entrypoint: ['/entrypoint.sh']
#entrypoint: ['tail', '-f','/dev/null']
#entrypoint: ['tail', '-f','/dev/null']
healthcheck:
test: "pgrep crond"
interval: 30s