THIS REPOSITORY IS NO LONGER MAINTAINED, SEE THE HabitusGUI REPO FOR OUR CURRENT DOCKER SOLUTION
This repository contains docker files needed for hosting Habitus Shiny app and its dependencies.
-
Build app:
sudo docker build -t habitus-app .
-
Run app and expose it to data volume on the host:
sudo docker run --rm -v /home/vincent/projects/fontys:/srv/shiny-server/data -p 3838:3838 habitus-app
(If you do sudo docker run --rm -p 3838:3838 habitus-app
you would not expose the data to the app)
-
Open app in browser:
http://localhost:3838/
-
Remove image:
sudo docker rmi habitus-app