FROM alpine:latest RUN apk add --no-cache \ perl-netaddr-ip \ postgrey ENTRYPOINT ["postgrey", "--inet=0.0.0.0:25", "--auto-whitelist-clients"] EXPOSE 25