I have an R environment container configured to what I wanted it to be.
Now I want to create a shiny app for it but I do not want to contaminate the clean environment I made before. Therefore, I am thinking of creating another container dedicated for hosting the shiny app (server.R, ui.R, etc.).
So I want the second container (the shiny app) to run on the first container's R environment via some kind of connection. As far as I know this is a Docker network.
Is there a way to accomplish this? In the future I am also considering hosting both containers on a remote server so the Shinyapp can be accessed publicly.
I Googled related topics but there were only articles talking about how to host a Shinyapp within the first R environment container.
Any help will be much appreciated.