This commit is contained in:
17
dovecot/Dockerfile
Normal file
17
dovecot/Dockerfile
Normal 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"]
|
Reference in New Issue
Block a user