diff --git a/docker-compose-dev.yml b/docker-compose-dev.yml index b6eeec96..733c0d0f 100644 --- a/docker-compose-dev.yml +++ b/docker-compose-dev.yml @@ -89,7 +89,7 @@ services: volumes: - ./user-dashboard/src:/var/www - /opt/cello/baas:/opt/data - command: bash -c "cd /usr/app/src && [ "$DEV" = True ] && npm run dev || npm start" + command: bash -c "ln -sf /node_modules . && npm run start" # cello engine service engine: diff --git a/docker-compose.yml b/docker-compose.yml index 22d75d0e..d552c15b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -57,6 +57,7 @@ services: - "8080:8080" volumes: - ./src/agent/docker/_compose_files:/cello + command: bash -c "ln -sf /node_modules . && npm run start" #TODO: need to follow other images to put at dockerhub user-dashboard: @@ -87,7 +88,6 @@ services: - FABRIC_CFG_PATH=/etc/hyperledger/fabric volumes: - /opt/cello/baas:/opt/data - command: bash -c "cd /usr/app/src && [ "$DEV" = True ] && npm run dev || npm start" # cello engine service engine: