diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..a626b1a --- /dev/null +++ b/Dockerfile @@ -0,0 +1,15 @@ +FROM golang:latest as builder + +WORKDIR /app + +COPY go.mod go.sum ./ + +COPY . . + +RUN make + +FROM alpine:latest + +COPY --from=builder /app/spurt . + +ENTRYPOINT ["./spurt"]