Each folder in this repo contains a shiny app:
un_migration: Navigate through the data distributed by the United Nations Department of Economic and Social AffairsThe shiny apps are composed of 2 files:
ui.R handles all the UI related code.server.R deals with backend changes to update the UI.The shiny apps can be run inside a docker container where the code and data have been copied into.
docker build -t ppjmartins/shiny_apps_img:latest .docker run -p 80:3838 ppjmartins/shiny_apps_imgIt is possible to run the app on the docker image without copying the code and data with docker-compose.
For that comment out the lines COPY app/ /srv/shiny-server/ and RUN chmod 777 /usr/bin/shiny-server.sh in the Dockerfile, rebuilt the image and finally run docker-compose up.
Content type
Image
Digest
Size
804.1 MB
Last updated
over 6 years ago
docker pull ppjmartins/shiny_apps_img