1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-01-24 03:49:27 +02:00
Mailu/core/postfix/Dockerfile

23 lines
401 B
Docker
Raw Normal View History

# syntax=docker/dockerfile-upstream:1.4.3
# postfix image
FROM base
2021-11-04 14:22:12 +01:00
ARG VERSION=local
LABEL version=$VERSION
RUN set -euxo pipefail \
; apk add --no-cache cyrus-sasl-login logrotate postfix postfix-pcre rsyslog
COPY conf/ /conf/
COPY start.py /
RUN echo $VERSION >/version
#EXPOSE 25/tcp 10025/tcp
2022-12-28 16:26:46 +01:00
HEALTHCHECK --start-period=350s CMD /usr/sbin/postfix status
VOLUME ["/queue"]
CMD /start.py