Created
November 14, 2018 12:38
-
-
Save b4tman/1a93116176c3525f0ce17d8c51f139bf to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM golang:1.11-alpine | |
RUN apk add -U --no-cache curl git make g++ && \ | |
RUN curl "https://raw.githubusercontent.com/golang/dep/master/install.sh" | sh | |
RUN go get -d -v github.com/muesli/beehive | |
RUN cd ${GOPATH}/src/github.com/muesli/beehive && \ | |
make get-deps && \ | |
make | |
FROM alpine:3.8 | |
RUN apk add -U --no-cache ca-certificates | |
WORKDIR /app | |
COPY --from=0 /go/src/github.com/muesli/beehive/beehive . | |
ENTRYPOINT ["./beehive"] | |
CMD ["-bind", "0.0.0.0:8181", "-canonicalurl", "http://localhost:8181"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment