pull/25/merge v0.1
Minho 2017-05-03 17:54:17 +08:00
parent 3aa32a3abb
commit e457408126
2 changed files with 2 additions and 7 deletions

View File

@ -12,7 +12,7 @@ RUN chmod +x start.sh
RUN go get -d ./... && \ RUN go get -d ./... && \
go get github.com/mitchellh/gox && \ go get github.com/mitchellh/gox && \
gox gox -os "windows linux darwin" -arch amd64
CMD ["./start.sh"] CMD ["./start.sh"]

View File

@ -3,11 +3,6 @@ set -e
cd /go/src/github.com/lifei6671/godoc/ cd /go/src/github.com/lifei6671/godoc/
goFile="godoc-linux-amd64"
chmod +x $goFile
if [ ! -f "conf/app.conf" ] ; then if [ ! -f "conf/app.conf" ] ; then
cp conf/app.conf.example conf/app.conf cp conf/app.conf.example conf/app.conf
fi fi
@ -37,4 +32,4 @@ if [ ! -z $HTTP_PORT] ; then
fi fi
/go/src/github.com/lifei6671/godoc/godoc-linux-amd64 /go/src/github.com/lifei6671/godoc/godoc_linux_amd64