Skip to content

Commit

Permalink
Merge "Modified Dockerfile for the SDK sample"
Browse files Browse the repository at this point in the history
  • Loading branch information
christo4ferris authored and Gerrit Code Review committed Oct 8, 2016
2 parents 987ff84 + c551e3f commit e8b1513
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions examples/sdk/node/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@ FROM hyperledger/fabric-peer:latest
# setup the chaincode sample
WORKDIR $GOPATH/src/github.com/hyperledger/fabric/examples/chaincode/go/chaincode_example02
RUN go build
# build the node SDK
WORKDIR $GOPATH/src/github.com/hyperledger/fabric/sdk/node
RUN make all
# now switch to the sample node app location when the shell is opened in the docker
WORKDIR $GOPATH/src/github.com/hyperledger/fabric/examples/sdk/node
# install the hfc locally for use by the application
RUN npm install $GOPATH/src/github.com/hyperledger/fabric/sdk/node
RUN npm install hfc

0 comments on commit e8b1513

Please sign in to comment.