ceremonyclient/go-libp2p/examples/metrics-and-dashboards/go-libp2p-node.Dockerfile
2023-08-20 23:07:43 -05:00

8 lines
146 B
Docker

FROM golang:alpine
WORKDIR /app
COPY ./main.go .
RUN go mod init example.com/m/v2
RUN go mod tidy
RUN go build main.go
ENTRYPOINT [ "/app/main" ]