FROM golang:1.23.3 AS builder
WORKDIR /src
COPY . ./
RUN go build -o /bin/passed .
FROM debian:latest AS runner
COPY --from=builder /bin/passed /bin/passed
CMD ["/bin/passed"]