Files
AllMail/mail-sync/Dockerfile
Aditya Pulipaka 70ee32efdd
Some checks failed
Deploy to Server / deploy (push) Failing after 5s
beforeLocal
2026-05-05 00:47:39 +00:00

16 lines
359 B
Docker

FROM alpine:latest
RUN apk add --no-cache isync cron python3 ca-certificates bash su-exec tzdata
# Copy configuration template and entrypoint
COPY mbsyncrc.template /root/.mbsyncrc.template
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
# Create the Maildir directory
RUN mkdir -p /Maildir
ENTRYPOINT ["/entrypoint.sh"]
CMD ["cron", "-f"]