content: FROM rust:1.85-slim
  
  RUN cargo new --bin app
  
  WORKDIR /app
  
  COPY Cargo.toml Cargo.lock ./
  RUN cargo build --release && rm ./target/release/deps/* src/*.rs
  
  COPY ./src ./src
  
  RUN cargo install --path .
  
  COPY .env ./
  
  RUN useradd -d /app -s /bin/bash api-man
  USER api-man
  
  CMD ["app"]