Remove certificate generation.

This commit is contained in:
yohan 2024-07-22 20:30:05 +00:00
parent 009802596c
commit e07e130d7d

View File

@ -15,11 +15,6 @@ COPY 10-auth.conf /etc/dovecot/conf.d/
COPY 10-ssl.conf /etc/dovecot/conf.d/
#COPY 15-lda.conf /etc/dovecot/conf.d/
COPY 20-lmtp.conf /etc/dovecot/conf.d/
COPY dovecot-openssl.cnf /root/
RUN cp /usr/share/dovecot/mkcert.sh /root/
RUN chmod +X /root/mkcert.sh
RUN cd /root; ./mkcert.sh
#COPY users /etc/dovecot/
RUN mkdir /home/yohan
RUN chown -R 1000:1000 /home/yohan
ENTRYPOINT ["/usr/sbin/dovecot", "-F", "-c", "/etc/dovecot/dovecot.conf"]