herald.go/Dockerfile

11 lines
187 B
Text
Raw Normal View History

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