1FROM rust:1.40 2 3WORKDIR /usr/num_cpus 4 5COPY . . 6 7RUN cargo build 8 9CMD [ "cargo", "test", "--lib" ] 10