Created
July 14, 2015 03:23
-
-
Save atotto/37048e7c30a8616c6cc7 to your computer and use it in GitHub Desktop.
godoc docker container
This file contains 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.5 | |
MAINTAINER gophers | |
ENV GOPATH=/workspace | |
ENV PATH=$GOPATH/bin:$PATH | |
RUN mkdir /workspace | |
RUN ["go", "version"] | |
EXPOSE 6060 | |
CMD exec godoc -http=:6060 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment