9 lines
177 B
Docker
9 lines
177 B
Docker
|
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"]
|