Created
February 8, 2016 13:43
-
-
Save josdirksen/4b4e778df316e4d8c517 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:latest | |
COPY src/ /go/src/ | |
COPY resources/config.json / | |
EXPOSE 9000 | |
# If external packages are needed, install them manually. Not needed if installed in the GOPATH | |
RUN go get github.com/fsouza/go-dockerclient && go install github.com/fsouza/go-dockerclient | |
RUN go get github.com/shirou/gopsutil && go install github.com/shirou/gopsutil | |
WORKDIR src | |
RUN go build -o /app/main github.com/josdirksen/slackproxy/slack-proxy.go | |
CMD ["/app/main", "--config", "/config.json"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment