aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile15
1 files changed, 14 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index 1dad4b6..bf5cab6 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -2,4 +2,17 @@ FROM golang:alpine
2 2
3EXPOSE 80/tcp 3EXPOSE 80/tcp
4 4
5ENTRYPOINT ["/gopherproxy"] 5ENTRYPOINT ["gopherproxy"]
6CMD []
7
8RUN \
9 apk add --update git && \
10 rm -rf /var/cache/apk/*
11
12RUN mkdir -p /go/src/github.com/prologic/gopherproxy
13WORKDIR /go/src/github.com/prologic/gopherproxy
14
15COPY . /go/src/github.com/prologic/gopherproxy
16
17RUN go get -v -d
18RUN go install -v github.com/prologic/gopherproxy/...