Files
goreportcard/Dockerfile
Tariq Ibrahim e8d43b74dd Update Dockerfile to use latest golang alpine image.
`go 1.12.5` has some key performance fixes.
2019-05-14 16:54:53 -07:00

14 lines
308 B
Docker

FROM golang:1.12.5-alpine
COPY . $GOPATH/src/github.com/gojp/goreportcard
WORKDIR $GOPATH/src/github.com/gojp/goreportcard
RUN apk update && apk upgrade && apk add --no-cache git make \
&& go get golang.org/x/tools/go/vcs \
&& ./scripts/make-install.sh
EXPOSE 8000
CMD ["make", "start"]