attempting to fix docker run issues
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
07fedd0b0b
commit
ae8320118a
12
Dockerfile
12
Dockerfile
@ -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"]
|
@ -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
|
Loading…
x
Reference in New Issue
Block a user