8 lines
165 B
Docker
8 lines
165 B
Docker
FROM golang:alpine as builder
|
|
WORKDIR /source
|
|
COPY ./src .
|
|
RUN go build .
|
|
|
|
FROM scratch
|
|
COPY --from=builder /source/mq-client /bin/mq-client
|
|
CMD [ "/bin/mq-client" ] |