from golang:1.18-alpine3.15 as builder
run apk add make curl git
workdir /WORK
copy . .
run make cory
entrypoint ["/WORK/cory"]
cmd ["-serve"]