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