docker fix

pull/10/head
Hunter Long 2018-06-23 22:01:59 -07:00
parent e0d5524039
commit c1f4d47da1
1 changed files with 6 additions and 1 deletions

View File

@ -2,7 +2,12 @@ FROM golang:1.10.3-alpine
RUN apk update && apk add git g++
RUN curl -o /usr/local/bin/statup https://github.com/hunterlong/statup/releases/download/v0.18/statup-linux-x64
WORKDIR $GOPATH/src/github.com/hunterlong/statup/
RUN go get github.com/GeertJohan/go.rice/rice
COPY . $GOPATH/src/github.com/hunterlong/statup/
RUN go get
RUN rice embed-go
RUN go install
WORKDIR /app
VOLUME /app