diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..b771b1a --- /dev/null +++ b/Dockerfile @@ -0,0 +1,16 @@ +FROM docker.io/golang:alpine as builder + +COPY . /src +WORKDIR /src +RUN apk add git make && make + +FROM docker.io/alpine + +LABEL maintainer="George " + +COPY --from=builder /src/meshnamed /usr/bin/meshnamed + +USER nobody +EXPOSE 53535 + +CMD ["/usr/bin/meshnamed", "--help"]