16 lines
251 B
Docker
16 lines
251 B
Docker
FROM golang:1.13 as builder
|
|
|
|
WORKDIR /go/src/github.com/sneak/pooteeweet
|
|
COPY . .
|
|
|
|
RUN go get -v && make build
|
|
|
|
|
|
FROM alpine
|
|
|
|
COPY --from=builder /go/src/github.com/sneak/pooteeweet/pooteeweet /bin/pooteeweet
|
|
|
|
CMD /bin/pooteeweet
|
|
|
|
# FIXME add testing
|