You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FROM node:10 as build-stageWORKDIR /appRUN rm -Rf /app/*RUN chown -R node: /appUSER nodeRUN git clone https://github.com/johni0702/mumble-web .RUN npm installRUN npm run buildFROM nginx:1.15COPY --from=build-stage /app/dist/ /usr/share/nginx/html/mumble-web
I use node 10 and I have change user for a non root-user (node). I copy the "dist" directory on a nginx container in the /usr/share/nginx/html/mumble-web. And I have configure nginx with this configuration :
It seems to install and build correctly but when I go to the interface I have an error.
index.js:46804Uncaught ReferenceError: Unabletoprocessbinding"css: function(){return { minimal:minimalView} }"
Message: minimalViewisnotdefinedatcss(evalatcreateBindingsStringEvaluator(index.js:46405),<anonymous>:3:108)
at update (index.js:47608)
at ko.dependentObservable.disposeWhenNodeIsRemoved (index.js:46796)
at Function.evaluateImmediate_CallReadThenEndDependencyDetection (index.js:45596)
at Function.evaluateImmediate_CallReadWithDependencyDetection (index.js:45563)
at Function.evaluateImmediate (index.js:45524)
at Object.ko.computed.ko.dependentObservable (index.js:45377)
at index.js:46794
at Object.arrayForEach (index.js:43572)
at applyBindingsToNodeInternal (index.js:46766)
I think there are a problem in npm build, but I not found the error. Can you help me ?
Hello,
I use docker to build the project :
My Dockerfile is :
I use node 10 and I have change user for a non root-user (node). I copy the "dist" directory on a nginx container in the /usr/share/nginx/html/mumble-web. And I have configure nginx with this configuration :
It seems to install and build correctly but when I go to the interface I have an error.
I think there are a problem in npm build, but I not found the error. Can you help me ?
The logs of the build image :
The text was updated successfully, but these errors were encountered: