完善Dockerfile

This commit is contained in:
Minho
2018-02-03 17:38:21 +08:00
parent 0a29049440
commit e69ea03d7b
2 changed files with 15 additions and 8 deletions

View File

@@ -17,6 +17,5 @@ RUN go get -d ./... && \
CGO_ENABLE=1 go build -v -o mindoc_linux_amd64 -ldflags="-w -X main.VERSION=$TAG -X 'main.BUILD_TIME=`date`' -X 'main.GO_VERSION=`go version`'" && \
rm -rf commands controllers models modules routers tasks vendor docs search data utils graphics .git Godeps uploads/* .gitignore .travis.yml Dockerfile gide.yaml LICENSE main.go README.md conf/enumerate.go conf/mail.go install.lock
WORKDIR /go/src/github.com/lifei6671/mindoc
CMD ["./start.sh"]