Move /entrypoint.sh to Dockerfile
This commit is contained in:
parent
b73aaaca14
commit
200adc3c29
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue