diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..94a2528 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,14 @@ +FROM golang:alpine AS builder +RUN apk add --no-cache git + +COPY . /src/pkg/ + +WORKDIR /src/pkg/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"]