From b8e13ab2ac3e1deaf20ade050db5a2b538fd1258 Mon Sep 17 00:00:00 2001 From: fherreazcue Date: Tue, 2 Apr 2024 16:42:43 +0100 Subject: [PATCH] Copies renv settings to container --- db/Dockerfile.rclient | 2 ++ 1 file changed, 2 insertions(+) diff --git a/db/Dockerfile.rclient b/db/Dockerfile.rclient index b5b16f2..219342c 100644 --- a/db/Dockerfile.rclient +++ b/db/Dockerfile.rclient @@ -28,6 +28,8 @@ RUN ln -s /opt/R/${R_VERSION}/bin/Rscript /usr/local/bin/Rscript RUN Rscript -e 'install.packages("renv",repos="https://cloud.r-project.org")' RUN apt-get install -y cmake COPY renv.lock . +COPY renv/activate.R ./renv/ +COPY renv/settings.json ./renv/ RUN Rscript -e 'renv::restore()' # Install minio client