hvalev / shiny-server-arm-docker Goto Github PK
View Code? Open in Web Editor NEWDockerized shiny server for armv7, arm64 and x86
Dockerized shiny server for armv7, arm64 and x86
I can't seem to get passed this step.
Step 29/57 : RUN ../bin/node ../ext/node/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure
---> Running in 0c6ee486a97e
../bin/node: 4: exec: ../bin/../ext/node/bin/node: not found
I originally tried building myself following that post on rstudio community, but got stuck here. I was hoping I could dodge it with docker but it seems I can't. Any ideas?
I'm hosting a Shiny app I created using this docker container. This works really well since I'm hosting it from my Raspberry Pi and I was unable to implement it using openanalytics/shinyproxy as that doesn't appear to work using a Raspberry Pi. I was very excited when I found this and when using a computer's web browser, the app works flawlessly.
The only issue is that it is very unresponsive and practically unusable from a mobile browser. The hello app that comes preloaded seems to work fine on mobile, but that is a much simpler app. It seems that there was/is a similar issue on the openanalytics/shinyproxy version and a workaround was discovered that can be found here. Unfortunately, the workaround doesn't quite translate 1:1 from that version to this version.
Is there a way to make my app more responsive on mobile using this version of shiny-server for ARM devices? Please let me know if you need more information from me to help find a fix. Much appreciated!
Thanks. And nice image!
I was also about to add RUN mkdir -p ~/.R && echo "MAKEFLAGS = -j4" > ~/.R/Makevars
to speed up compilation of R packages, both when building the image and for R itself when it's run through the container. But then, crash. Apparantly 4GB wasn't enough for running the final line:
shiny-server-arm-docker/Dockerfile
Line 98 in b9089a1
Originally posted by @KasperSkytte in #20 (comment)
Hi there,
thanks for the awesome project!
Is it possible to just put my app right inside the container via the dockerfile?
I tried it like this:
COPY shiny-server.conf /etc/shiny-server/shiny-server.conf
RUN mkdir /srv/shiny-server/app01
COPY app01/* /srv/shiny-server/app01/
RUN chmod -R 777 /srv/shiny-server/app01
But it doesnt work unfortunately, the website displays the following error message:
An error has occurred
The application failed to start.
Connection attempt was aborted.
When trying this, i left out the -v commands in docker run.
Any ideas/hints/links on how to fix this issue?
checking for cmake... no
------------------ CMAKE NOT FOUND --------------------
CMake was not found on the PATH. Please install CMake:
- sudo yum install cmake (Fedora/CentOS; inside a terminal)
- sudo apt install cmake (Debian/Ubuntu; inside a terminal).
- sudo pacman -S cmake (Arch Linux; inside a terminal).
- sudo brew install cmake (MacOS; inside a terminal with Homebrew)
- sudo port install cmake (MacOS; inside a terminal with MacPorts)
~~Alternatively install CMake from: https://cmake.org/ ~~
OK, I solved it, i just type wrong "apt-get install cmake", it just""apt install cmake", then I installed cmake successfully.
Thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.