FROM rust:latest RUN mkdir -p /rust/izzilis/src WORKDIR /rust/izzilis COPY src/* ./src/ COPY bot_config.json . COPY fediverse.toml . COPY Cargo.* ./ RUN cargo build --release && \ cp target/release/izzilis /usr/bin/ CMD ["izzilis"]