Files

16 lines
359 B
Docker
Raw Permalink Normal View History

2026-05-05 00:47:39 +00:00
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"]