aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Dockerfile1
-rw-r--r--cmd/gopherproxy/main.go4
2 files changed, 2 insertions, 3 deletions
diff --git a/Dockerfile b/Dockerfile
index ddba3aa..e173197 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -3,7 +3,6 @@ FROM golang:alpine
3EXPOSE 80/tcp 3EXPOSE 80/tcp
4 4
5ENTRYPOINT ["gopherproxy"] 5ENTRYPOINT ["gopherproxy"]
6CMD ["-bind", "0.0.0.0:80", "-uri", "floodgap.com"]
7 6
8RUN \ 7RUN \
9 apk add --update git && \ 8 apk add --update git && \
diff --git a/cmd/gopherproxy/main.go b/cmd/gopherproxy/main.go
index bc5050e..fa20c4e 100644
--- a/cmd/gopherproxy/main.go
+++ b/cmd/gopherproxy/main.go
@@ -8,8 +8,8 @@ import (
8) 8)
9 9
10var ( 10var (
11 bind = flag.String("bind", ":80", "[int]:port to bind to") 11 bind = flag.String("bind", "0.0.0.0:80", "[int]:port to bind to")
12 uri = flag.String("uri", "127.0.0.1:70", "<host>:[port] to proxy to") 12 uri = flag.String("uri", "floodgap.com", "<host>:[port] to proxy to")
13) 13)
14 14
15func main() { 15func main() {