marcel-dempers 6c51b181fc kafka wip
2021-04-19 07:51:15 +10:00

15 lines
240 B
Plaintext

FROM golang:1.15-alpine as build
RUN apk add --no-cache git
WORKDIR /src
COPY publisher.go /src
RUN go build publisher.go
FROM alpine as runtime
COPY --from=build /src/publisher /app/publisher
CMD [ "/app/publisher" ]