Skip to content

Commit 7d280fb

Browse files
committed
fix(docker): Put circuit blobs in the right place
1 parent 412adcd commit 7d280fb

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ RUN cargo build --release --package=cli --bin=openmina
99
RUN cargo build --release --features scenario-generators --bin openmina-node-testing
1010

1111
# necessary for proof generation when running a block producer.
12-
RUN git clone --depth 1 https://github.com/openmina/circuit-blobs.git
13-
RUN mv node/web/circuit-blobs/* ledger
12+
RUN git clone --depth 1 https://github.com/openmina/circuit-blobs.git \
13+
&& rm -rf circuit-blobs/berkeley_rc1 circuit-blobs/*/tests
1414

1515
FROM openmina/mina-snark-worker-prover:${MINA_SNARK_WORKER_TAG} AS prover
1616

@@ -19,5 +19,7 @@ RUN apt-get update && apt-get install -y libjemalloc2 libssl1.1 libpq5 curl jq p
1919
COPY --from=build /openmina/cli/bin/snark-worker /usr/local/bin/
2020
COPY --from=build /openmina/target/release/openmina /usr/local/bin/
2121
COPY --from=build /openmina/target/release/openmina-node-testing /usr/local/bin/
22+
RUN mkdir -p /usr/local/lib/openmina/circuit-blobs
23+
COPY --from=build /openmina/circuit-blobs/ /usr/local/lib/openmina/circuit-blobs/
2224
COPY --from=prover /usr/local/bin/mina /usr/local/bin
2325
ENTRYPOINT [ "openmina" ]

0 commit comments

Comments
 (0)