peer
优质
小牛编辑
131浏览
2023-12-01
peer
生成 fabric-peer 镜像。
包括 Dockerfile.in 文件,内容为:
FROM hyperledger/fabric-runtime:_TAG_ENV PEER_CFG_PATH /etc/hyperledger/fabricRUN mkdir -p /var/hyperledger/db $PEER_CFG_PATH/msp/sampleconfig/signcerts $PEER_CFG_PATH/msp/sampleconfig/admincerts $PEER_CFG_PATH/msp/sampleconfig/keystore $PEER_CFG_PATH/msp/sampleconfig/cacertsCOPY payload/peer /usr/local/binCOPY payload/core.yaml $PEER_CFG_PATHCOPY payload/msp/sampleconfig/signcerts/peer.pem $PEER_CFG_PATH/msp/sampleconfig/signcertsCOPY payload/msp/sampleconfig/admincerts/admincert.pem $PEER_CFG_PATH/msp/sampleconfig/admincertsCOPY payload/msp/sampleconfig/keystore/key.pem $PEER_CFG_PATH/msp/sampleconfig/keystoreCOPY payload/msp/sampleconfig/cacerts/cacert.pem $PEER_CFG_PATH/msp/sampleconfig/cacertsCMD peer node start