docker-deploy/mail/v2/docker/mda-dovecot
2021-12-21 15:34:40 +08:00

10 lines
260 B
Plaintext

FROM alpine:3.15
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories \
&& apk add dovecot-pgsql dovecot-lmtpd \
&& chown -R mail /var/mail \
&& rm -rf /var/cache/apk/*
EXPOSE 143 993
CMD ["/usr/sbin/dovecot", "-F"]