mirror of
https://source.quilibrium.com/quilibrium/ceremonyclient.git
synced 2024-12-25 16:15:17 +00:00
ae7c14fc2a
* add git commit to Dockerfile label * add deploy resource requirements * add default stats collection * fix file permissions * relax buffer warning * fix typos * add various deploy instructions
24 lines
670 B
Docker
24 lines
670 B
Docker
FROM golang:1.20.14-alpine3.19
|
|
|
|
ARG GIT_COMMIT=unspecified
|
|
|
|
LABEL org.opencontainers.image.title="Quilibrium Network Node"
|
|
LABEL org.opencontainers.image.description="Quilibrium is a decentralized alternative to platform as a service providers."
|
|
LABEL org.opencontainers.image.vendor=Quilibrium
|
|
LABEL org.opencontainers.image.url=https://quilibrium.com/
|
|
LABEL org.opencontainers.image.documentation=https://quilibrium.com/docs
|
|
LABEL org.opencontainers.image.revision=$GIT_COMMIT
|
|
|
|
ENV GOEXPERIMENT=arenas
|
|
|
|
WORKDIR /opt/ceremonyclient
|
|
|
|
COPY . .
|
|
|
|
WORKDIR /opt/ceremonyclient/node
|
|
|
|
RUN go mod download && go mod verify
|
|
RUN go build ./...
|
|
|
|
ENTRYPOINT ["go", "run", "./..."]
|