ceremonyclient
ceremonyclient copied to clipboard
multi stage Dockerfile and Taskfile
- switching to a multi stage Dockerfile
- build stage has golang
- installs the
nodebinary - installs the
grpcurltool - the target stage based on Alpine Linux
- copies over the
nodeandgrpcurlbinaries and a couple of json files - much smaller image, 151MB vs 1.18GB
- safer since neither source code nor
goare present in production
- adding Taskfile task runner to help with building and running
- adding
healthchecktodocker-compose.yml -
docker-compose.ymlcan be customised through.env-
.env.exampleprovided as a sample
-