Open Seyphaton opened 3 years ago
I realised that your are resetting the env variable here: https://github.com/rstudio/shiny-server/blob/da6c4852c4c99189e75f5bc740eac1b199626d70/R/SockJSAdapter.R#L23
Where is this input coming from?
If you're deriving from rocker/shiny, I don't think you need to do any of that stuff in your Dockerfile, other than COPY shiny-server.conf /etc/shiny-server/shiny-server.conf
I have no idea how port
is getting unset though--it's being set just a couple of lines above that runApp
call.
Hey,
I installed shiny-server inside a docker container to host a small app.
Error Message: When I try to start the app I get the following error message:
I assume this error is related to this code: https://github.com/rstudio/shiny-server/blob/da6c4852c4c99189e75f5bc740eac1b199626d70/R/SockJSAdapter.R#L244
However, I am confused about this error message because executing the code in a R console within in docker container (using the shiny user) works just fine and read the correct 'shiny_port'.
Thanks a lot in advance for your help/advise.
My Setup: Dockerfile to build my image:
--->The entrypoint runs the renv restore and starts the shiny-server
Docker Compose:
My shiny-server conf: