15 lines
301 B
Docker
15 lines
301 B
Docker
FROM golang:alpine as builder
|
|
|
|
RUN apk update && apk add git
|
|
|
|
COPY . $GOPATH/src/github.com/hunterlong/statup/
|
|
WORKDIR $GOPATH/src/github.com/hunterlong/statup/
|
|
RUN go get github.com/GeertJohan/go.rice/rice
|
|
RUN go get -d -v
|
|
RUN rice embed-go
|
|
RUN go install
|
|
WORKDIR /app
|
|
|
|
EXPOSE 8080
|
|
|
|
ENTRYPOINT statup |