站点更新:2018-06-06 12:09:24

pull/291/head
ehlxr 2018-06-06 12:09:24 +08:00
parent fd38208031
commit e3efe60b7b
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ RUN go get -u github.com/golang/dep/cmd/dep && dep ensure && \
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
FROM nginx:alpine
FROM alpine:latest
LABEL maintainer="ehlxr.me@gmail.com"
WORKDIR /mindoc
COPY --from=0 /go/src/github.com/lifei6671/mindoc .