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