How to install shiny proxy in Ubuntu
You can have ShinyProxy container up and running on your Ubuntu machine bu following teh next four steps:
You can download the Dockerfile for shinyServer at https://github.com/og-analytics.
Cloning this repository provides several files required to follow all the tutorials displayed at the page
Nevertheless, the only file you need to accomplish step (1) is text file named Dockerfile
with the following content:
FROM openjdk:8-jre
RUN mkdir -p /opt/shinyproxy/
RUN wget https://www.shinyproxy.io/downloads/shinyproxy-2.3.1.jar -O /opt/shinyproxy/shinyproxy.jar
COPY application.yml /opt/shinyproxy/application.yml
WORKDIR /opt/shinyproxy/
CMD ["java", "-jar", "/opt/shinyproxy/shinyproxy.jar"]
This dockerfile contains the instructions for performing the next four tasks
Tasks (c) requires application.yml
that, in turn, require to be there and properly configured when building the container. This files basically tells the container how to interact with the surrounding environment including how to interact with any shiny application.
If you see mistakes or want to suggest changes, please create an issue on the source repository.
For attribution, please cite this work as
Spano (2020, Sept. 24). andreaspano blog: Install ShinyProxy. Retrieved from https://andreaspano.github.io/posts/2020-09-24-install-shinyproxy/
BibTeX citation
@misc{spano2020install, author = {Spano, Andrea}, title = {andreaspano blog: Install ShinyProxy}, url = {https://andreaspano.github.io/posts/2020-09-24-install-shinyproxy/}, year = {2020} }