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

17
dovecot/Dockerfile Normal file
View File

@ -0,0 +1,17 @@
FROM dovecot/dovecot:latest
COPY --chown=mail:mail start.sh /
COPY --chown=mail:mail templates/ /templates/
COPY config/ /config/
RUN mkdir /run/dovecot /cert /dh && \
chown mail:mail /config /cert /dh /run/dovecot
VOLUME /cert
VOLUME /dh
EXPOSE 10993/tcp
USER mail
CMD ["/start.sh"]