ceremonyclient/Dockerfile
Marius Scurtescu 0587e7d63d
add basic Docker configuration (#46)
* 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
2024-02-17 22:52:11 -06:00

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", "./..."]