9 lines
156 B
Docker
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"]
|