Skip to content

Commit

Permalink
feat(connector-besu): dockerfile
Browse files Browse the repository at this point in the history
Signed-off-by: jordigiam <jordi.giron.amezcua@accenture.com>
  • Loading branch information
jordigiam authored and petermetz committed Apr 28, 2021
1 parent d64f3cd commit 7174004
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/cactus-plugin-ledger-connector-besu/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
FROM cactus-api-server:latest

ARG NPM_PKG_VERSION=latest

COPY example-config.json ./
RUN npm i @hyperledger/cactus-plugin-ledger-connector-besu@${NPM_PKG_VERSION} --production
16 changes: 16 additions & 0 deletions packages/cactus-plugin-ledger-connector-besu/example-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"configFile": "example-config.json",
"cactusNodeId": "15141de4-4f2b-4c59-91c1-34524508d118",
"consortiumId": "52c8f628-0d56-411b-bb45-28f717668d40",
"logLevel": "debug",
"plugins": [
{
"packageName": "@hyperledger/cactus-plugin-ledger-connector-besu",
"type": "org.hyperledger.cactus.plugin_import_type.REMOTE",
"options": {
"instanceId": "39a51210-578a-4204-a5ec-f1b52ea2c0d4",
"keychainId": "867b3b96-9dc6-43fd-913c-e71bbfb1f48c"
}
}
]
}

0 comments on commit 7174004

Please sign in to comment.