FROM alpine:latest

RUN \
    apk --no-cache upgrade && \
    apk --no-cache add postfix 

COPY rootfs /

VOLUME /config

ENTRYPOINT [ "/bin/sh", "/app/entrypoint.sh" ]