chore(docker): make sure the libzkp directory is clean (#664)

might have artifacts already built on the host machine
This commit is contained in:
Ömer Faruk Irmak 2024-03-20 06:55:58 +03:00 committed by GitHub
parent 4553f5f269
commit df83a62528
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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/