Dear ShinyProxy team,
we make heavy use of shiny apps how want to expand our knowledge towards other frameworks as well. I have deployed a very simple VueJS app with this Dockerfile.
FROM node:lts-alpine
# install simple http server for serving static content
RUN npm install -g http-server
# make the 'app' folder the current working directory
WORKDIR /root/app
# copy both 'package.json' and 'package-lock.json' (if available)
COPY package*.json ./
# install project dependencies
RUN npm install
# copy project files and folders to the current working directory (i.e. 'app' folder)
COPY . .
# build app for production with minification
RUN npm run build
CMD [ "http-server", "-p 3838", "dist" ]
Running the app with sudo docker run -it -p 3838:3838 testvue
works fine. Howevery inside shinyproxy I get a ton of 404 Errors.
vendor.e00e51762311e00a2108.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)
analytics.company.com/:1 Refused to apply style from 'https://analytics.company.com/static/css/app.30790115300ab27614ce176899523b62.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
app.b22ce679862c47a75225.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)
manifest.2ae2e69a05c33dfc65f8.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)
vendor.e00e51762311e00a2108.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)
app.b22ce679862c47a75225.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)
analytics.mediaplus.com/:1 Refused to apply style from 'https://analytics.company.com/static/css/app.30790115300ab27614ce176899523b62.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
The part in the application.yaml looks like this:
- name: vue
display-name: Vue
docker-cmd: [ "http-server", "-p 3838", "dist" ]
docker-image: testvue
description: Test for vue apps
groups: tpp
logo-url: file:///home/administrator/assets/picture.png
Can anyone help me how to get it up and running?