Created
April 17, 2016 19:33
-
-
Save Ell/26c5a93c700017afd77f73393ddfa472 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:alpine | |
EXPOSE 7070 | |
RUN apk update | |
RUN apk --no-cache add git | |
RUN mkdir /app/ | |
COPY ./config.toml /app/ | |
COPY ./tracker/ $GOPATH/src/github.com/ell/tracker | |
WORKDIR $GOPATH/src/github.com/ell/tracker | |
RUN go get | |
RUN go build -v | |
RUN cp tracker /app/ | |
WORKDIR /app | |
CMD ["./tracker"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment