Commit 55b334be authored by Guillaume Perréal's avatar Guillaume Perréal
Browse files

Minor docker changes.

parent f3584f54
No related merge requests found
Showing with 4 additions and 3 deletions
+4 -3
ARG R_TAG=3.5.2 ARG R_TAG=3.5.2
FROM rocker/shiny:$R_TAG AS builder FROM rocker/shiny:$R_TAG
# Install and build R packages from CRAN and Bioconductor, removing documentation and tests # Install and build R packages from CRAN and Bioconductor, removing documentation and tests
RUN R -e 'install.packages( \ RUN R -e 'install.packages( \
...@@ -32,12 +32,13 @@ ADD demo /tmp/demo ...@@ -32,12 +32,13 @@ ADD demo /tmp/demo
RUN cd /tmp/demo \ RUN cd /tmp/demo \
&& R -f make-demo.R \ && R -f make-demo.R \
&& mkdir -p /srv/shiny-server/demo \ && mkdir -p /srv/shiny-server/demo \
&& ls -la && cp demo.RData /srv/shiny-server/demo && ls -la && cp demo.RData /srv/shiny-server/demo \
&& rm -rf /tmp/demo
# Fix file permissions # Fix file permissions
RUN chmod -R a+rX /srv/shiny-server/ \ RUN chmod -R a+rX /srv/shiny-server/ \
&& chgrp shiny /var/lib/shiny-server \ && chgrp shiny /var/lib/shiny-server \
&& chmod g+rwxs /var/lib/shiny-server && chmod g+rwxs /var/lib/shiny-server
# Run with a non-privileged user # Run with a unprivileged user
USER shiny USER shiny
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment