diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..23452a1 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,13 @@ +FROM golang as builder + +WORKDIR /src + +COPY . . + +RUN CGO_ENABLED=0 GOOS=linux make build + +FROM alpine +COPY --from=builder /src/whatscli /usr/local/bin/ + +ENTRYPOINT ["whatscli"] +