diff options
Diffstat (limited to 'mail/Dockerfile')
| -rw-r--r-- | mail/Dockerfile | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/mail/Dockerfile b/mail/Dockerfile new file mode 100644 index 0000000..f35efcf --- /dev/null +++ b/mail/Dockerfile @@ -0,0 +1,18 @@ +FROM debian:bookworm-slim + +RUN apt-get update && apt-get install -y --no-install-recommends \ + postfix \ + opendkim \ + opendkim-tools \ + rsyslog \ + && rm -rf /var/lib/apt/lists/* + +COPY postfix/main.cf /etc/postfix/main.cf +COPY opendkim/opendkim.conf /etc/opendkim.conf + +COPY entrypoint.sh /entrypoint.sh +RUN chmod +x /entrypoint.sh + +EXPOSE 25 + +ENTRYPOINT ["/entrypoint.sh"] |
