herald.go/docker/Dockerfile
Jeffrey Picard beae3d4cb2 cleanup
2021-12-07 07:05:01 -05:00

10 lines
187 B
Docker

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"]