FROM golang:alpine AS builder COPY . /src WORKDIR /src RUN go build -o /app FROM alpine COPY --from=builder /app /app ENTRYPOINT ["/app"] CMD []