From ff3d7c2e706670dd6b030d04429403b6e64ebdf4 Mon Sep 17 00:00:00 2001 From: etienne-napoleone Date: Mon, 1 Oct 2018 15:44:55 +0700 Subject: [PATCH] remove pkey file from node image after importing the account --- docker/tomochain/entrypoint.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/docker/tomochain/entrypoint.sh b/docker/tomochain/entrypoint.sh index 43a141d7ca08..4c5fcfb7602c 100755 --- a/docker/tomochain/entrypoint.sh +++ b/docker/tomochain/entrypoint.sh @@ -98,6 +98,7 @@ if [[ $accountsCount -le 0 ]]; then --datadir $DATA_DIR \ --keystore $KEYSTORE_DIR \ --password ./password + rm ./private_key else echo "Creating new account" tomo account new \