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