mirror of
https://github.com/moparisthebest/kaiwa
synced 2024-11-28 20:22:15 -05:00
Fix: Dockerfile
This commit is contained in:
parent
882fb3de0b
commit
329da72425
@ -3,7 +3,7 @@ FROM ubuntu:14.04
|
|||||||
ENV DEBIAN_FRONTEND noninteractive
|
ENV DEBIAN_FRONTEND noninteractive
|
||||||
ENV HOME /root
|
ENV HOME /root
|
||||||
|
|
||||||
ENV XMPP_NAME Otalk
|
ENV XMPP_NAME Kaiwa
|
||||||
ENV XMPP_DOMAIN example.com
|
ENV XMPP_DOMAIN example.com
|
||||||
ENV XMPP_WSS wss://example.com:5281/xmpp-websocket/
|
ENV XMPP_WSS wss://example.com:5281/xmpp-websocket/
|
||||||
ENV XMPP_MUC chat.example.com
|
ENV XMPP_MUC chat.example.com
|
||||||
|
@ -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_PWD}}/'"${LDAP_PWD}"'/' -i /app/config/dev_config.json
|
||||||
sed 's/{{LDAP_GROUP}}/'"${LDAP_GROUP}"'/' -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/websocket.js node_modules/stanza.io/lib/transports
|
||||||
cp /app/stanza.io/index-browser.js node_modules/stanza.io/lib/plugins
|
cp /app/stanza.io/index-browser.js node_modules/stanza.io/lib/plugins
|
||||||
|
Loading…
Reference in New Issue
Block a user