From 6a8f860eefad47a5c17b5233ff75833d3066b2b9 Mon Sep 17 00:00:00 2001 From: zeus Date: Sun, 21 Nov 2021 18:24:55 +0200 Subject: [PATCH] add npm exress --- docker-compose.yml | 4 ++-- readmongo/install-readmongo.sh | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 60a1cc8..7f9fca1 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -48,8 +48,8 @@ services: #build: ./readmongo #ports: # - "3000:3000" - # volumes: - # - ./readmongo:/usr/src/app + volumes: + - ./readmongo/swarmlab-app/src/run/:/home/node/readmongo/readmongo/swarmlab-app/src/run/ networks: datacollector-net: dummy: diff --git a/readmongo/install-readmongo.sh b/readmongo/install-readmongo.sh index f7f80d5..79f1e79 100755 --- a/readmongo/install-readmongo.sh +++ b/readmongo/install-readmongo.sh @@ -7,6 +7,8 @@ echo $BASEDIR cd $BASEDIR +cd swarmlab-app/src + npm i npm cache clean --force