This commit is contained in:
=
2024-12-19 22:32:42 -05:00
parent 12e996003e
commit 9803b2f155
27 changed files with 268 additions and 55 deletions

View File

@ -4,6 +4,7 @@ RUN apk add --update --no-cache \
bash \
nano \
curl \
bind-tools \
postfix \
postfix-ldap \
postfix-pcre \
@ -12,12 +13,19 @@ RUN apk add --update --no-cache \
RUN update-ca-certificates && \
mkdir /cert && \
chown 100:101 /cert
mkdir /dh && \
chown 100:101 /cert && \
chown 100:101 /dh
COPY --chown=root:root start.sh config /
COPY --chown=root:root start.sh /
COPY --chown=root:root config/ /config/
COPY --chown=root:root templates/ /templates/
RUN chown -R 100:101 /var/lib/postfix && \
chmod 750 /var/lib/postfix
VOLUME /config
VOLUME /cert
VOLUME /dh
VOLUME /var/spool/postfix
EXPOSE 10025/tcp