aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Dockerfile3
-rw-r--r--README.md4
2 files changed, 5 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile
index 80826a8..caef533 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -3,5 +3,4 @@ RUN go get dim13.org/goxy
VOLUME /go/src/dim13.org/goxy/certs
WORKDIR /go/src/dim13.org/goxy
ENTRYPOINT /go/bin/goxy
-EXPOSE 80
-EXPOSE 443
+EXPOSE 80 443
diff --git a/README.md b/README.md
index 4e67dbd..8d9a1d8 100644
--- a/README.md
+++ b/README.md
@@ -56,3 +56,7 @@ Processing: 0 48 53.8 33 427
Waiting: 0 48 53.6 33 427
Total: 1 100 223.2 37 1424
+## Build'n'Run
+
+ docker build -t goxy .
+ docker run -d --name goxy -p 192.168.243.5:80:80 -p 192.168.243.5:443:443 --net testnet goxy