Skip to content

Commit

Permalink
[CE-206] Fix vue theme npm install & build error
Browse files Browse the repository at this point in the history
Change-Id: I69e2f17ac84051d6fedc98894339094780f438eb
Signed-off-by: Haitao Yue <hightall@me.com>
  • Loading branch information
hightall committed Dec 25, 2017
1 parent ce11d3f commit 88e4615
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ version: '2'
services:
# cello dashboard service
build-js:
image: hyperledger/cello-baseimage
image: node:9.3
volumes: # This should be removed in product env
- ./src/$STATIC_FOLDER:/app
- ./src/$TEMPLATE_FOLDER:/app/templates
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ version: '2'
services:
# cello dashboard service
npm-install:
image: hyperledger/cello-baseimage
image: node:9.3
volumes: # This should be removed in product env
- ./src/$STATIC_FOLDER:/app
environment:
- NPM_REGISTRY=$NPM_REGISTRY
command: bash -c "cd /app && npm install --loglevel http --registry https://$NPM_REGISTRY"
command: bash -c "cd /app && npm install --loglevel http --registry $NPM_REGISTRY"
2 changes: 1 addition & 1 deletion scripts/master_node/build_js.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ fi


echo_b "Start build js files..."
docker-compose -f docker-compose-build-js.yml up --force-recreate
docker-compose -f docker-compose-build-js.yaml up --force-recreate

#echo "Restarting mongo_express"
#[[ "$(docker ps -q --filter='name=mongo_express')" != "" ]] && docker restart mongo_express
2 changes: 1 addition & 1 deletion scripts/master_node/npm_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ else
fi

echo_b "Start install npm packages..."
docker-compose -f docker-compose-npm-install.yml up --force-recreate
docker-compose -f docker-compose-npm-install.yaml up --force-recreate

#echo "Restarting mongo_express"
#[[ "$(docker ps -q --filter='name=mongo_express')" != "" ]] && docker restart mongo_express

0 comments on commit 88e4615

Please sign in to comment.