aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
blob: 6ac0724010e0a94c74ccf2d976e55fbb27cb2a0b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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/...