From e1e739e0266c94c98c4b4ed91115373188631c99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Se=C3=A1n=20C=20McCord?= Date: Sat, 30 Sep 2023 16:46:32 -0400 Subject: [PATCH] add Dockerfile --- Dockerfile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..da2af37 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,14 @@ +FROM golang:alpine AS builder +RUN apk add --no-cache git + +COPY . . + +WORKDIR cmd/inbound + +RUN go build -o /go/bin/inbound + +FROM alpine +RUN apk add --no-cache ca-certificates +COPY --from=builder /go/bin/inbound /go/bin/inbound + +ENTRYPOINT ["/go/bin/inbound"]