2023-10-05 16:26:51 +02:00
|
|
|
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
|
2023-10-17 17:00:33 +02:00
|
|
|
COPY vmailbox /etc/postfix/vmailbox
|
2023-10-05 16:26:51 +02:00
|
|
|
|
|
|
|
EXPOSE 25
|
|
|
|
EXPOSE 465
|
|
|
|
EXPOSE 587
|
|
|
|
|
|
|
|
CMD [ "startup.sh" ]
|