From 536577ea94ac178cda4ec074542e266c4b2ad0b8 Mon Sep 17 00:00:00 2001 From: Andrea Franz Date: Mon, 12 Feb 2024 01:46:27 +0100 Subject: [PATCH] compile contracts in docker --- Dockerfile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index e93dc0083..6a205313a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,7 +12,6 @@ RUN curl -L https://foundry.paradigm.xyz | bash RUN ~/.foundry/bin/foundryup RUN /root/.foundry/bin/forge install -RUN ls lib/solady/src/auth/Ownable.sol RUN rm -rf .git # RUN bun install @@ -40,7 +39,6 @@ ENV PATH="/root/.foundry/bin:$PATH" ENV PNPM_HOME="/pnpm" ENV PATH="$PNPM_HOME:$PATH" RUN corepack enable - -RUN pnpm run build +RUN npx hardhat compile EXPOSE 8545/tcp