b9f7d595bd
* 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
10 lines
208 B
Docker
10 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"]
|