mirror of
https://source.quilibrium.com/quilibrium/ceremonyclient.git
synced 2024-11-10 18:25:17 +00:00
0587e7d63d
* add initial Dockerfile * use alpine, build all source code, use ENTRYPOINT instead of CMD * add initial docker-compose.yml * map ports * add labels to image * fully specify base image version * add logging config * map .config to host folder instead of volume
21 lines
590 B
Docker
21 lines
590 B
Docker
FROM golang:1.20.14-alpine3.19
|
|
|
|
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
|
|
|
|
ENV GOEXPERIMENT=arenas
|
|
|
|
WORKDIR /opt/ceremonyclient
|
|
|
|
COPY . .
|
|
|
|
WORKDIR /opt/ceremonyclient/node
|
|
|
|
RUN go mod download && go mod verify
|
|
RUN go build ./...
|
|
|
|
ENTRYPOINT ["go", "run", "./..."]
|