# Runtime only — binary built externally via cargo
FROM debian:bookworm-slim

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

WORKDIR /app
COPY target/x86_64-unknown-linux-gnu/release/app /app/app

ENV APP_LOG_LEVEL=info
ENTRYPOINT ["/app/app"]
