birch 0.1.1

Peel. Rotate. Renew. - Secret rotation tool for local .env and production hosts
Documentation
FROM rust:1.75-slim as builder

WORKDIR /app

RUN apt-get update && apt-get install -y \
    pkg-config \
    libssl-dev \
    && rm -rf /var/lib/apt/lists/*

COPY Cargo.toml Cargo.lock ./
COPY src ./src
COPY examples ./examples
COPY tests ./tests

RUN cargo build --release

FROM debian:bookworm-slim

RUN apt-get update && apt-get install -y \
    ca-certificates \
    libssl3 \
    && rm -rf /var/lib/apt/lists/*

COPY --from=builder /app/target/release/birch /usr/local/bin/birch

RUN mkdir -p /root/.birch/logs

ENV RUST_LOG=info

ENTRYPOINT ["birch"]
CMD ["--help"]