herald.go/docker/Dockerfile
Jeffrey Picard b9f7d595bd
Herald.go (#47)
* switch herald to herald.go

* update ci/cd stuff

* fix issues with binary name

* we're no longer building dynamically, so turn CGO back on, and fix names

* update package names in proto files
2022-08-09 14:43:01 +03:00

11 lines
208 B
Docker

FROM golang:alpine as stage1
EXPOSE 50051
RUN mkdir /app
WORKDIR /app
COPY . /app
RUN go build -o herald .
FROM alpine:latest
COPY --from=stage1 /app/herald /herald
ENTRYPOINT ["/herald", "serve"]