Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- FROM rocker/shiny:3.5.3
- ...
- COPY shiny-server.conf /etc/shiny-server/shiny-server.conf
- COPY .Renviron /srv/shiny-server
- RUN chown -R shiny:shiny /srv/shiny-server/
- RUN cd /srv/shiny-server && git pull origin features/DTedit
- # Instruct Shiny Server to run applications as the user "shiny"
- run_as shiny;
- # Define a server that listens on port 3838
- server {
- listen 3838;
- # Define a location at the base URL
- location / {
- # Host the directory of Shiny Apps stored in this directory
- site_dir /srv/shiny-server;
- # Log all Shiny output to files in this directory
- log_dir /var/log/shiny-server;
- # When a user visits the base URL rather than a particular application,
- # an index of the applications available in this directory will be shown.
- directory_index on;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement