attempting to fix docker run issues
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
jblu 2024-06-08 14:04:21 -05:00
parent 07fedd0b0b
commit ae8320118a
2 changed files with 12 additions and 12 deletions

View File

@ -1,7 +1,7 @@
FROM python:alpine3.18
RUN apk add --no-cache mariadb-client rclone supercronic docker restic zip
COPY . opt
RUN chmod +x /opt/entrypoint.sh
RUN chmod +x /opt/restic.sh
RUN pip install requests python-dotenv
FROM python:alpine3.18
RUN apk add --no-cache mariadb-client rclone supercronic docker restic zip
COPY . opt
RUN chmod +x /opt/entrypoint.sh
RUN chmod +x /opt/restic.sh
RUN pip install requests python-dotenv
CMD ["/opt/entrypoint.sh"]

View File

@ -1,7 +1,7 @@
#!/bin/sh
CRON_CONFIG_FILE="/opt/crontab"
echo "${CRON} python /opt/seafile-backup.py" > $CRON_CONFIG_FILE
#!/bin/sh
CRON_CONFIG_FILE="/opt/crontab"
echo "${CRON} python /opt/seafile-backup.py" > $CRON_CONFIG_FILE
exec supercronic -passthrough-logs -quiet $CRON_CONFIG_FILE