diff --git a/wilson-basic/Dockerfile b/wilson-basic/Dockerfile index 9c9a8d9..e351999 100644 --- a/wilson-basic/Dockerfile +++ b/wilson-basic/Dockerfile @@ -28,10 +28,10 @@ RUN apt-get update && apt-get install -y \ libcurl4-openssl-dev \ git \ procps \ - python-pip && \ + python3-pip && \ apt-get clean && \ # Install jinja2 templating engine - pip install j2cli && \ + pip3 install j2cli && \ # Install R infrastructure R -e "install.packages(c('BiocManager', 'webshot'), repos = c(CRAN = 'https://cloud.r-project.org/'))" && \ R -e "webshot::install_phantomjs()" && \ @@ -43,9 +43,10 @@ RUN apt-get update && apt-get install -y \ # Change ownerships chmod -R ugo+wrX /var/log/shiny-server/ && \ chown -R shiny:shiny /srv/shiny-server/ && \ + chmod o+w /usr/local/lib/R/site-library && \ # Clean up existing sample apps rm -rf /srv/shiny-server/[0-9][0-9]_* /srv/shiny-server/index.html /srv/shiny-server/sample-apps # Start container USER shiny -CMD ["/entrypoint.sh", "/usr/bin/shiny-server.sh"] +CMD ["/entrypoint.sh", "/usr/bin/shiny-server"]