This commit is contained in:
=
2024-12-19 01:36:27 -05:00
parent e0587508a7
commit 12e996003e
8 changed files with 256 additions and 0 deletions

28
postfix/Dockerfile Normal file
View File

@ -0,0 +1,28 @@
FROM alpine:3
RUN apk add --update --no-cache \
bash \
nano \
curl \
postfix \
postfix-ldap \
postfix-pcre \
postfix-policyd-spf-perl \
ca-certificates
RUN update-ca-certificates && \
mkdir /cert && \
chown 100:101 /cert
COPY --chown=root:root start.sh config /
VOLUME /config
VOLUME /cert
VOLUME /var/spool/postfix
EXPOSE 10025/tcp
EXPOSE 10465/tcp
USER root
CMD ["/start.sh"]