compose.yml
services:
cron:
build:
dockerfile_inline: |
FROM alpine
RUN apk add --no-cache openssh
volumes: [$HOME/.ssh:/root/.ssh]
network_mode: host
entrypoint: ssh $USER@localhost
stop_grace_period: 0s
restart: unless-stopped
command:
- |
cd /Users/w/dock/public/radiology.yauk.tv
/Users/w/.venv/bin/python main.py
tail -f /dev/null