diff --git a/Dockerfile b/Dockerfile index 977484f..bcffdca 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,12 +1,16 @@ FROM rust:1.70 as builder WORKDIR /usr/local/app/fhevm-tfhe-cli -ADD . . +COPY . . RUN cargo build --release --features tfhe/seeder_unix FROM debian:bullseye-slim WORKDIR /usr/local/app -RUN apt-get install libc6 -y + +RUN apt-get update && apt-get install -y \ + libc6 \ + && rm -rf /var/lib/apt/lists/* + COPY --from=builder /usr/local/app/fhevm-tfhe-cli/target/release/fhevm-tfhe-cli /usr/local/bin ENV RUST_LOG=info