1 2 3 4 5 6 7 8 9 10
FROM rust:latest # build and put binary in path WORKDIR /usr/src/tally COPY . . RUN cargo build --release RUN cp target/release/tally /usr/local/bin/tally # users can test tally from here ENTRYPOINT ["sh"]