passed/Dockerfile

9 lines
177 B
Docker
Raw Permalink Normal View History

2024-10-29 23:08:11 +00:00
FROM golang:1.23.1 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"]