FROM harbor.front.kjuulh.io/docker-proxy/library/rust:slim-bullseye AS builder COPY . /app/builder/ WORKDIR /app/builder/ RUN cargo build --release FROM harbor.front.kjuulh.io/docker-proxy/library/debian:bullseye-slim COPY --from=builder /app/builder/target/release/ /app/ WORKDIR /app/ ENV RUST_LOG info CMD ["./twatch"]