fix dockerfile

This commit is contained in:
poma 2020-04-28 11:32:34 +03:00
parent 978c3c183b
commit 69b0005d6a
No known key found for this signature in database
GPG Key ID: BA20CB01FE165657

@ -2,7 +2,7 @@ FROM rust:slim
RUN apt-get update && \ RUN apt-get update && \
apt-get install -y pkg-config libssl-dev git && \ apt-get install -y pkg-config libssl-dev git && \
rm -rf /var/lib/apt/lists/* rm -rf /var/lib/apt/lists/*
RUN git clone -b ceremony https://github.com/tornadocash/phase2-bn254 RUN git clone https://github.com/tornadocash/phase2-bn254
WORKDIR /phase2-bn254/phase2 WORKDIR /phase2-bn254/phase2
RUN cargo build --release --bin tornado RUN cargo build --release --bin tornado
CMD cargo run --release --bin tornado CMD cargo run --release --bin tornado