docker-deploy/mail/v2/docker/mta-postfix
2021-12-21 03:15:49 +08:00

10 lines
276 B
Plaintext

FROM alpine:3.15
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories \
&& apk add postfix postfix-pgsql \
&& postconf -e "maillog_file = /dev/stdout" \
&& rm -rf /var/cache/apk/*
EXPOSE 25 465
CMD ["/usr/sbin/postfix", "start-fg"]