File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 11FROM node:lts-alpine
22ARG RASA_ENDPOINT=http://localhost:5005
33ARG RASA_PATH=/socket.io
4+ ARG PUBLIC_PATH=/
45
56RUN apk add --no-cache --virtual .build-deps curl sed python make g++
67
@@ -9,7 +10,7 @@ RUN curl -L -o rvi.zip "https://github.com/RasaHQ/rasa-voice-interface/archive/m
910WORKDIR /app/rasa-voice-interface-master
1011RUN chown -R node /app/rasa-voice-interface-master \
1112 && sed -i "s|'http://localhost:5005'|'${RASA_ENDPOINT}', options: { path: '${RASA_PATH}' }|g" src/main.js \
12- && sed -i "s|integrity: false|integrity: false, publicPath: '/rasa-demo-voice/ '|g" vue.config.js \
13+ && sed -i "s|integrity: false|integrity: false, publicPath: '${PUBLIC_PATH} '|g" vue.config.js \
1314 && npm install --no-optional && npm install serve && npm run-script build
1415RUN apk del .build-deps
1516
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ services:
66 args :
77 RASA_ENDPOINT : https://demo.botiumbox.com
88 RASA_PATH : /rasa-demo/socket.io
9+ PUBLIC_PATH : /rasa-demo-voice/
910 image : botium/botium-speech-rasa-voice
1011 restart : always
1112 ports :
You can’t perform that action at this time.
0 commit comments