12 lines
267 B
Docker
12 lines
267 B
Docker
|
FROM alpine:latest
|
||
|
|
||
|
RUN adduser -u 5000 -g vmail -s /usr/bin/nologin -h /home/vmail -S vmail
|
||
|
RUN apk add --no-cache postfix ca-certificates
|
||
|
|
||
|
ADD ./main.cf /etc/postfix/main.cf
|
||
|
ADD ./master.cf /etc/postfix/master.cf
|
||
|
|
||
|
ADD ./start.sh /start.sh
|
||
|
|
||
|
ENTRYPOINT ["/start.sh"]
|