'Serving Bookdown from Shiny Server
According to the shiny server docs, an r-markdown with an index (like a bookdown doc) should be served by shiny if its in the /srv/shiny-server/ folder.
I cloned the sample bookdown example and mounted it to a shiny server.
Dockerfile:
FROM rocker/shiny-verse:4.0.5
RUN install2.r -e bookdown
Docker Compose:
version: '3.8'
services:
app:
build:
context: ./
dockerfile: Dockerfile
image: bookdown_test
container_name: bookdown_test
restart: always
#user: 'root'
volumes:
- ./bookdown-demo:/srv/shiny-server/book
ports:
- '80:3838'
This should serve the book at localhost/book however I only get a blank page and stdout message:
bookdown_test | processing file: index.Rmd
bookdown_test | output file: /tmp/shiny/rmarkdown/1dd8e4d901d7b5552128fdca39407670/index.knit.md
bookdown_test |
bookdown_test |
bookdown_test | Output created: section-prerequisites.html
The file that it creates is not what it should create either.

How can I utilize shiny server to effectively serve app documentation? It seems like this should work.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
