This commit is contained in:
Minho
2017-05-03 17:39:27 +08:00
parent eb952f44a9
commit 3aa32a3abb
3 changed files with 3 additions and 5 deletions

View File

@@ -11,7 +11,8 @@ WORKDIR /go/src/github.com/lifei6671/godoc
RUN chmod +x start.sh
RUN go get -d ./... && \
go build -v -o godoc-linux-amd64 -ldflags "-w"
go get github.com/mitchellh/gox && \
gox
CMD ["./start.sh"]