Skip to content

Commit

Permalink
*
Browse files Browse the repository at this point in the history
  • Loading branch information
lifei6671 committed May 3, 2017
1 parent 3aa32a3 commit e457408
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Expand Up @@ -12,7 +12,7 @@ RUN chmod +x start.sh

RUN go get -d ./... && \
go get github.com/mitchellh/gox && \
gox
gox -os "windows linux darwin" -arch amd64


CMD ["./start.sh"]
7 changes: 1 addition & 6 deletions start.sh
Expand Up @@ -3,11 +3,6 @@ set -e

cd /go/src/github.com/lifei6671/godoc/

goFile="godoc-linux-amd64"


chmod +x $goFile

if [ ! -f "conf/app.conf" ] ; then
cp conf/app.conf.example conf/app.conf
fi
Expand Down Expand Up @@ -37,4 +32,4 @@ if [ ! -z $HTTP_PORT] ; then
fi


/go/src/github.com/lifei6671/godoc/godoc-linux-amd64
/go/src/github.com/lifei6671/godoc/godoc_linux_amd64

0 comments on commit e457408

Please sign in to comment.