webserver-k8s/dockerfiles/postfix/Dockerfile

15 lines
257 B
Docker
Raw 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
EXPOSE 25
EXPOSE 465
EXPOSE 587
CMD [ "startup.sh" ]