Skip to content

Instantly share code, notes, and snippets.

@clsung
Created May 14, 2017 02:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save clsung/ad87c75388461d1810aba703925e3a28 to your computer and use it in GitHub Desktop.
Save clsung/ad87c75388461d1810aba703925e3a28 to your computer and use it in GitHub Desktop.
FROM golang:1.8-alpine as builder
RUN apk update && apk upgrade && \
apk add --no-cache git
RUN go get -u sourcegraph.com/sourcegraph/appdash/cmd/...
FROM alpine:3.5
RUN apk --no-cache add ca-certificates
WORKDIR /
COPY --from=builder /go/bin/appdash .
EXPOSE 7700
EXPOSE 7701
CMD ["/appdash", "serve"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment