Sign inSign up

tobwiens/trufflepig-dockerfile

By tobwiens

•Updated over 8 years ago

trufflepig-dockerfile

Image
0

201

tobwiens/trufflepig-dockerfile repository overview

⁠trufflepig-dockerfile

⁠How to start

docker run -d -v [CONTRACTS_FOLDER]:/data/contracts -p [IP]:3030:3030 tobwiens/trufflepig-dockerfile

⁠Example:

docker run -d -v ~/colonyNetwork/build/contracts/:/data/contracts -p 5.9.49.182:3030:3030 tobwiens/trufflepig-dockerfile

⁠How to use

const TEST_HOST = 'http://[IP]:3030';

// Create an instance of the Trufflepig contract loader const loader = new TrufflepigLoader({ endpoint: ${TEST_HOST}/contracts?name=%%NAME%%&address=%%ADDRESS%%&version=%%VERSION%% });

Tag summary

Content type

Image

Digest

Size

173.9 MB

Last updated

over 8 years ago

docker pull tobwiens/trufflepig-dockerfile