mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-15 12:46:38 +00:00
10 lines
257 B
Docker
10 lines
257 B
Docker
FROM postgres:latest
|
|
|
|
# crontab
|
|
RUN mkdir /backups
|
|
COPY ./backup.sh /backups
|
|
COPY ./cronfile /etc/cron.d/cronfile
|
|
RUN apt-get update && apt-get -y install cron
|
|
RUN chmod 0644 /etc/cron.d/cronfile
|
|
RUN crontab /etc/cron.d/cronfile
|
|
RUN touch /var/log/cron.log
|