Skip to content

Commit 2c3a9be

Browse files
author
Florian Treml
committed
using serve
1 parent ac9cfcb commit 2c3a9be

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

connectors/rasa/client/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ RUN curl -L -o rvi.zip "https://github.com/RasaHQ/rasa-voice-interface/archive/m
99
WORKDIR /app/rasa-voice-interface-master
1010
RUN chown -R node /app/rasa-voice-interface-master \
1111
&& sed -i "s|'http://localhost:5005'|'${RASA_ENDPOINT}', options: { path: '${RASA_PATH}' }|g" src/main.js \
12-
&& sed -i "s|integrity: false|integrity: false, devServer: { disableHostCheck: true }|g" vue.config.js \
13-
&& npm install --no-optional
12+
&& sed -i "s|integrity: false|integrity: false, publicPath: '/rasa-demo-voice/'|g" vue.config.js \
13+
&& npm install --no-optional && npm install serve && npm run-script build
1414
RUN apk del .build-deps
1515

1616
EXPOSE 8080
1717
USER node
18-
CMD npm run serve
18+
CMD PORT=8080 npx serve -s dist

0 commit comments

Comments
 (0)