mirror of
https://github.com/Such-Software/xmrcheckout.git
synced 2026-10-17 05:51:34 +02:00
13 lines
284 B
Docker
13 lines
284 B
Docker
FROM postgres:16-alpine
|
|
|
|
RUN apk add --no-cache bash
|
|
|
|
COPY backup.sh /usr/local/bin/backup.sh
|
|
COPY pg_backup.cron /etc/cron.d/pg_backup
|
|
|
|
RUN chmod +x /usr/local/bin/backup.sh \
|
|
&& chmod 0644 /etc/cron.d/pg_backup \
|
|
&& crontab /etc/cron.d/pg_backup
|
|
|
|
CMD ["crond", "-f", "-l", "8"]
|