From 91d2cdd13983319657d61423094883b9d1f3ed65 Mon Sep 17 00:00:00 2001
From: khalid belkhir <khalid.belkhir@univ-montp2.fr>
Date: Mon, 16 Dec 2019 14:51:09 +0100
Subject: [PATCH] Change docker image name to deploy

---
 RunCmdLine.sh | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/RunCmdLine.sh b/RunCmdLine.sh
index 0e1547b..a6bde6e 100644
--- a/RunCmdLine.sh
+++ b/RunCmdLine.sh
@@ -22,22 +22,24 @@ mkdir -p $Results
 DOCK_VOL+=" --mount type=bind,src=$Data,dst=/Data"
 DOCK_VOL+=" --mount type=bind,src=$Results,dst=/Results"
 
+# config file must be in /Data or /Results !
 config=$3
+
 cores=$4
 
 if [ $# -lt 5 ]
 then
-    APP_IMG="mbbteam/radseqdenovo:latest"  
+    APP_IMG="mbbteam/rnaseqde:latest"  
 else 
     IMG_SRC=$5
     case $IMG_SRC in
         docker )
-            APP_IMG="mbbteam/radseqdenovo:latest"  ;;
+            APP_IMG="mbbteam/rnaseqde:latest"  ;;
         local)
-            docker build . -t radseqdenovo:latest 
-            APP_IMG="radseqdenovo:latest" ;;
+            docker build . -t rnaseqde:latest 
+            APP_IMG="rnaseqde:latest" ;;
         mbb)    
-            #APP_IMG="X.X.X.X:5000/radseqdenovo:latest" ;;
+            #APP_IMG="X.X.X.X:5000/rnaseqde:latest" ;;
     esac
 fi
 
-- 
GitLab