From 6c6e679de2464b4e9e453ee5629e940952c409f4 Mon Sep 17 00:00:00 2001
From: Anthony Geourjon <anthony.geourjon@tetras-libre.fr>
Date: Wed, 22 Feb 2023 17:19:43 +0100
Subject: [PATCH] WIP cli

---
 cli | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/cli b/cli
index f40ac59..1075f94 100755
--- a/cli
+++ b/cli
@@ -17,8 +17,8 @@ cmdup="docker-compose up"
 cmddown="docker-compose down"
 cmdinitsubmodule="git submodule init"
 cmdupdatetsubmodule="git submodule update"
-cmdbuildmirador="docker run --rm -v $PWD:/opt -it node:12 /bin/sh -c 'cd /opt && npm install && npm run build:es'"
-cmdbuildmiradorplugin="docker run --rm -v $PWD:/opt -it node:12 /bin/sh -c 'cd /opt && npm install && npm run build'"
+cmdbuildmirador="docker run --rm -v mirador-video-annotation:/opt -it node:12 /bin/sh -c 'cd /opt && npm install && npm run build:es'"
+cmdbuildmiradorplugin="docker run --rm -v annotations-plugin:/opt -it node:12 /bin/sh -c 'cd /opt && npm install && npm run build'"
 
 MIRADOR_FOLDER=mirador-video-annotation
 MIRADOR_ANNOTATION_FOLDER=annotations-plugin
@@ -55,7 +55,7 @@ case $action in
         echo "** Start install ..."
         FILE=.env
         if [ ! -f "$FILE" ]; then
-            echo "** $FILE does not exist. Please copy .env template cp .env.template .env and set COMPOSE_FILE to suit your needs"
+            echo "** $FILE does not exist. Please copy .env template. [cp .env.template .env] and set COMPOSE_FILE to suit your needs"
              exit 0
         fi
 
-- 
GitLab