From 57a5ebebcf603d34458962f46405ca97c1d3e8f8 Mon Sep 17 00:00:00 2001
From: Bryan Brancotte <bryan.brancotte@pasteur.fr>
Date: Wed, 12 Apr 2023 16:34:19 +0200
Subject: [PATCH] -

---
 Dockerfile2 | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Dockerfile2 b/Dockerfile2
index 2f2b0c1..50ddb11 100644
--- a/Dockerfile2
+++ b/Dockerfile2
@@ -22,7 +22,8 @@ RUN R --version
 #COPY ./scripts/packages_to_install.csv .
 COPY ./scripts /opt/scripts
 
-RUN Rscript /opt/scripts/install_r_packages.R
+RUN cd /opt/scripts/ \
+ && Rscript /opt/scripts/install_r_packages.R
 
 #Install shiny server
 #RUN apt-get update \
-- 
GitLab