修改Dockerfile

pull/25/merge
lifei6671 2017-05-01 12:58:28 +08:00
parent 03fb94fd55
commit a8358e1e51
1 changed files with 2 additions and 1 deletions

View File

@ -8,7 +8,8 @@ WORKDIR /go/src/github.com/lifei6671/godoc
RUN chmod +x start.sh
RUN go build -ldflags "-w" && \
RUN go get -d ./... && \
go build -ldflags "-w" && \
rm -rf commands controllers models routers search vendor .gitignore .travis.yml Dockerfile gide.yaml LICENSE main.go README.md utils graphics Godeps
CMD ["./start.sh"]