1
0
mirror of https://github.com/moparisthebest/kaiwa synced 2024-11-21 08:45:12 -05:00

Fix: Dockerfile

This commit is contained in:
Sébastien Hut 2015-04-08 17:43:24 +02:00
parent 882fb3de0b
commit 329da72425
2 changed files with 4 additions and 4 deletions

View File

@ -3,7 +3,7 @@ FROM ubuntu:14.04
ENV DEBIAN_FRONTEND noninteractive
ENV HOME /root
ENV XMPP_NAME Otalk
ENV XMPP_NAME Kaiwa
ENV XMPP_DOMAIN example.com
ENV XMPP_WSS wss://example.com:5281/xmpp-websocket/
ENV XMPP_MUC chat.example.com

View File

@ -22,11 +22,11 @@ sed 's/{{LDAP_DN}}/'"${LDAP_DN}"'/' -i /app/config/dev_config.json
sed 's/{{LDAP_PWD}}/'"${LDAP_PWD}"'/' -i /app/config/dev_config.json
sed 's/{{LDAP_GROUP}}/'"${LDAP_GROUP}"'/' -i /app/config/dev_config.json
cp /app/config/dev_config.json /otalk
cp /app/config/dev_config.json /kaiwa
echo "Configuring otalk..."
echo "Configuring kaiwa..."
cd otalk
cd kaiwa
cp /app/stanza.io/websocket.js node_modules/stanza.io/lib/transports
cp /app/stanza.io/index-browser.js node_modules/stanza.io/lib/plugins