File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
src/setup-docker/templates/fabric-docker Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -101,7 +101,9 @@ services:
101101 <%_ } _ % >
102102 - ../fabric-config/chaincode-packages:/var/hyperledger/cli/chaincode-packages/
103103 <%_ chaincodes.forEach(function(chaincode) { _ % >
104- - " $CHAINCODES_BASE_DIR/<%= chaincode.directory % >/:/var/hyperledger/cli/<%= chaincode.name % >/"
104+ <%_ if(chaincode.lang !== 'ccaas' && chaincode.directory) { _ % >
105+ - " $CHAINCODES_BASE_DIR/<%= chaincode.directory % >/:/var/hyperledger/cli/<%= chaincode.channel.name % >-<%= chaincode.name % >/"
106+ <%_ } _ % >
105107 <%_ if(chaincode.privateDataConfigFile) { _ % >
106108 - " ../fabric-config/<%= chaincode.privateDataConfigFile % >:/var/hyperledger/cli/<%= chaincode.privateDataConfigFile % >"
107109 <%_ } _ % >
You can’t perform that action at this time.
0 commit comments