From 9e8ceeeff863712a8f15c56a09d8ecdc9c7d9b33 Mon Sep 17 00:00:00 2001 From: "0xAWM.eth" <29773064+0xAWM@users.noreply.github.com> Date: Tue, 3 Oct 2023 15:04:20 +0800 Subject: [PATCH] Update Dockerfile --- Dockerfile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8e8443b8f..edf9660ee 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,25 +21,23 @@ WORKDIR /builder COPY Cargo.toml . COPY rust-toolchain.toml . COPY src ./src -COPY cli ./cli COPY benches ./benches COPY externals ./externals # build offchain binary -WORKDIR /builder/cli RUN cargo build --release -RUN cp target/release/cli /bins/cli_offchain +RUN cp target/release/ityfuzz /bins/cli_offchain # build onchain binary RUN sed -i -e 's/"cmp"/"cmp","flashloan_v2"/g' ../Cargo.toml RUN cargo build --release -RUN cp target/release/cli /bins/cli_onchain +RUN cp target/release/ityfuzz /bins/cli_onchain RUN sed -i -e 's/"deployer_is_attacker"/"print_logs"/g' ../Cargo.toml RUN sed -i -e 's/"print_txn_corpus",//g' ../Cargo.toml RUN sed -i -e 's/"full_trace",//g' ../Cargo.toml RUN cargo build --release -RUN cp target/release/cli /bins/cli_print_logs +RUN cp target/release/ityfuzz /bins/cli_print_logs FROM run_environment WORKDIR /app