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

Container: Don't complain if the bin/ directory already exists

This commit is contained in:
Badlop 2022-09-07 12:02:36 +02:00
parent 14cced0bad
commit c496baaf87

View File

@ -43,7 +43,7 @@ RUN cp -r _build/prod/rel/ejabberd/ /opt/ejabberd-$VERSION \
&& mv /opt/ejabberd-$VERSION/conf /opt/ejabberd/conf && mv /opt/ejabberd-$VERSION/conf /opt/ejabberd/conf
RUN BINPATH=$(dirname $(find /opt -name msgs))/bin/ \ RUN BINPATH=$(dirname $(find /opt -name msgs))/bin/ \
&& mkdir $BINPATH \ && mkdir -p $BINPATH \
&& cp tools/captcha*.sh $BINPATH && cp tools/captcha*.sh $BINPATH
RUN export PEM=/opt/ejabberd/conf/server.pem \ RUN export PEM=/opt/ejabberd/conf/server.pem \