FROM rust:1-bookworm WORKDIR /usr/src/historian COPY . . RUN cargo install --path . ENV INPUT=. ENV OUTPUT=output CMD historian $INPUT --render-to $OUTPUT