From 94193184e827eb45f0018c93e1bf22d848b48b2c Mon Sep 17 00:00:00 2001 From: parmarrushabh Date: Mon, 5 Nov 2018 17:56:33 +0530 Subject: [PATCH] remove pkey file from node image after importing the account --- docker/XDCchain/entrypoint.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/docker/XDCchain/entrypoint.sh b/docker/XDCchain/entrypoint.sh index c2dcbf31ad..2f5880dc4a 100644 --- a/docker/XDCchain/entrypoint.sh +++ b/docker/XDCchain/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" XDC account new \