25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-22 16:20:52 +01:00

Container: Copy .ejabberd-modules directory if available

This commit is contained in:
Badlop 2022-09-12 11:42:54 +02:00
parent a8121cd7e5
commit d0bc83147a

View File

@ -46,6 +46,8 @@ RUN BINPATH=$(dirname $(find /opt -name msgs))/bin/ \
&& mkdir -p $BINPATH \ && mkdir -p $BINPATH \
&& cp tools/captcha*.sh $BINPATH && cp tools/captcha*.sh $BINPATH
RUN [ ! -d .ejabberd-modules ] || cp -r .ejabberd-modules /opt/ejabberd/
RUN export PEM=/opt/ejabberd/conf/server.pem \ RUN export PEM=/opt/ejabberd/conf/server.pem \
&& curl -o "/opt/ejabberd/conf/cacert.pem" 'https://curl.se/ca/cacert.pem' \ && curl -o "/opt/ejabberd/conf/cacert.pem" 'https://curl.se/ca/cacert.pem' \
&& openssl req -x509 \ && openssl req -x509 \