From 92df00b9d92d78a74ffc3b029167b9edc5209f38 Mon Sep 17 00:00:00 2001 From: Andrea Franz Date: Mon, 12 Feb 2024 03:43:36 +0100 Subject: [PATCH] set test private key var before compiling with hardhat --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 53a640285..d8c0d47c9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -47,6 +47,7 @@ RUN corepack enable RUN rm -rf contracts/strategies/_poc/ -RUN npx hardhat compile +# test private key required at hardhat load time +RUN env DEPLOYER_PRIVATE_KEY=0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80 npx hardhat compile EXPOSE 8545/tcp