ceremonyclient/go-libp2p/examples/metrics-and-dashboards/go-libp2p-node.Dockerfile

8 lines
146 B
Docker
Raw Permalink Normal View History

2023-08-21 03:50:38 +00:00
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" ]