From df83a62528cff5fa8ba96f0fa9790d268effc8cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=96mer=20Faruk=20Irmak?= Date: Wed, 20 Mar 2024 06:55:58 +0300 Subject: [PATCH] chore(docker): make sure the libzkp directory is clean (#664) might have artifacts already built on the host machine --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 025b1f6f56..b69b8d55d2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,6 +17,7 @@ COPY --from=planner /app/recipe.json recipe.json RUN cargo chef cook --release --recipe-path recipe.json COPY ./rollup/circuitcapacitychecker/libzkp . +RUN cargo clean RUN cargo build --release RUN find ./ | grep libzktrie.so | xargs -I{} cp {} /app/target/release/