Advertisement
Guest User

Untitled

a guest
Jun 18th, 2019
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. FROM rocker/shiny:3.5.3
  2. ...
  3. COPY shiny-server.conf /etc/shiny-server/shiny-server.conf
  4. COPY .Renviron /srv/shiny-server
  5. RUN chown -R shiny:shiny /srv/shiny-server/
  6. RUN cd /srv/shiny-server && git pull origin features/DTedit
  7.  
  8. # Instruct Shiny Server to run applications as the user "shiny"
  9. run_as shiny;
  10.  
  11. # Define a server that listens on port 3838
  12. server {
  13. listen 3838;
  14.  
  15. # Define a location at the base URL
  16. location / {
  17.  
  18. # Host the directory of Shiny Apps stored in this directory
  19. site_dir /srv/shiny-server;
  20.  
  21. # Log all Shiny output to files in this directory
  22. log_dir /var/log/shiny-server;
  23.  
  24. # When a user visits the base URL rather than a particular application,
  25. # an index of the applications available in this directory will be shown.
  26. directory_index on;
  27. }
  28. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement