From b54d4a4c95cf9a6f5f48792fb17e21efe4797cfb Mon Sep 17 00:00:00 2001 From: Rachel Wegener Date: Tue, 14 May 2024 11:28:04 -0400 Subject: [PATCH] add install.R to easily include packages --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 3d2703d..c496de1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -66,6 +66,9 @@ RUN echo "Checking for 'conda-linux-64.lock' or 'environment.yml'..." \ find ${NB_PYTHON_PREFIX}/lib/python*/site-packages/bokeh/server/static -follow -type f -name '*.js' ! -name '*.min.js' -delete \ ; fi +## Run an install.R script, if it exists. +RUN if [ -f install.R ]; then R --quiet -f install.R; fi + RUN pip install jupyter-rsession-proxy WORKDIR ${HOME}