plausible-hosting/smtp/stretch/Dockerfile
iwishiwasaneagle 9fc075a440
feat: Replace old bytemark/smtp image with the source code
This will allow more platforms to use this template repo. The original
dockerhub image was last updated 5 years ago, and as such,
newer architectures aren't supported like the Raspberry Pi 4
which a lot of people are using for self hosting these days
2023-04-19 08:49:52 +01:00

14 lines
330 B
Docker

FROM debian:stretch-slim
# Install exim4
ENV DEBIAN_FRONTEND noninteractive
RUN set -ex; \
apt-get update; \
apt-get install -y exim4-daemon-light; \
apt-get clean
COPY docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh
EXPOSE 25/tcp
ENTRYPOINT [ "docker-entrypoint.sh" ]
CMD [ "exim", "-bdf", "-v", "-q30m" ]