From d6e1047ba230f38126a811f0b1594e2d44b7d74f Mon Sep 17 00:00:00 2001 From: Alpha Date: Thu, 31 Jan 2019 23:28:58 +0100 Subject: [PATCH] Fixes --- Dockerfile | 2 +- README.md | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 7ed17c4..b012a91 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,5 +17,5 @@ RUN go get; exit 0 WORKDIR $GOPATH/src/git.cliffbreak.de/Cliffbreak/tsviewer COPY config.json . RUN go build -EXPOSE 8080 + CMD ["./tsviewer"] \ No newline at end of file diff --git a/README.md b/README.md index ad720d6..6e288c2 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,14 @@ A TS3 Viewer with REST API. +## DOCKER-Config + +```bash +docker build -t name/cont:ver . + +docker run -e ts3_ip="ts_ip", ts3_pw="quarry_pw", web_port="port" -d name/cont:ver +``` + # Features ## Config