webserver-k8s/dockerfiles/postfix/Dockerfile

16 lines
293 B
Docker
Raw Permalink Normal View History

FROM alpine:latest
RUN apk --no-cache add postfix bash openssl
COPY startup.sh /usr/bin/startup.sh
RUN chmod +x /usr/bin/startup.sh
COPY main.cf /etc/postfix/main.cf
COPY virtual /etc/postfix/virtual
COPY vmailbox /etc/postfix/vmailbox
EXPOSE 25
EXPOSE 465
EXPOSE 587
CMD [ "startup.sh" ]