FROM golang:alpine EXPOSE 80/tcp ENTRYPOINT ["gopherproxy"] RUN \ apk add --update git && \ rm -rf /var/cache/apk/* RUN mkdir -p /go/src/git.vulpes.one/gopherproxy WORKDIR /go/src/git.vulpes.one/gopherproxy COPY . /go/src/git.vulpes.one/gopherproxy RUN go get -v -d RUN go install -v git.vulpes.one/gopherproxy/...