status-go/vendor/github.com/schollz/peerdiscovery/Dockerfile

9 lines
156 B
Docker

FROM golang
WORKDIR /peerdiscovery
COPY . .
RUN go get github.com/schollz/progressbar/v2
RUN go build ./examples/ipv4/main.go
CMD ["/peerdiscovery/main"]