I’m using Docker compose and published a R Shiny App. I’m able to run locally and write to drive for my App. However, when deployed to docker, my Shiny is not able to write to the directory, therefore my App fails.
Here is my docker_compose
I’m able to access the container from the command line and verify when my App tries to write to srv/shiny-server/app/ the file is not there. Also with the logs, I’m able to do an “ls” while exectuion, and it is indeed in the correct directory path.
Is there something with Docker I need to setup to ensure I’m able to write?
For reference here is my DockerFile:
system libraries of general use
RUN apt-get update && apt-get install -y
RUN R -e ‘install.packages(“RPostgres”)’
RUN R -e ‘install.packages(“DT”)’
RUN R -e ‘install.packages(“httr”)’
RUN R -e ‘install.packages(“ggplot2”)’
RUN R -e ‘install.packages(“plotly”)’