1
0
mirror of https://github.com/Mailu/Mailu.git synced 2024-12-16 10:59:53 +02:00
Mailu/core/postfix/Dockerfile

23 lines
400 B
Docker
Raw Normal View History

# syntax=docker/dockerfile-upstream:1.4.3
# postfix image
FROM base
2021-11-04 15:22:12 +02:00
ARG VERSION=local
LABEL version=$VERSION
RUN set -euxo pipefail \
2023-04-12 21:22:44 +02:00
; apk add --no-cache cyrus-sasl-login postfix postfix-pcre logrotate
COPY conf/ /conf/
COPY start.py /
RUN echo $VERSION >/version
#EXPOSE 25/tcp 10025/tcp
2023-04-21 14:42:25 +02:00
HEALTHCHECK --start-period=30s CMD ! /usr/libexec/postfix/master -t
VOLUME ["/queue"]
CMD /start.py