feat: cron done, admin unfinished

This commit is contained in:
2025-05-31 06:02:48 -04:00
parent b8ce9ded76
commit a91469257b
8 changed files with 81 additions and 11 deletions
+11 -4
View File
@@ -1,9 +1,16 @@
FROM alpine:latest
RUN apk add --no-cache docker-cli bash findutils postgresql-client
RUN apk add --no-cache docker-cli bash findutils postgresql-client cronie
COPY backup.sh /backup.sh
RUN chmod +x /backup.sh
WORKDIR /app
CMD ["/backup.sh"]
COPY backup.sh crontab.txt ./
RUN chmod +x backup.sh
RUN crontab crontab.txt
RUN touch /var/log/cron.log
CMD ["crond", "-f"]