diff --git a/Dockerfile b/Dockerfile index d85d989..4139c4a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -28,4 +28,4 @@ ENV USER root COPY --from=builder /usr/bin/slack-term /usr/bin/slack-term COPY --from=builder /etc/ssl/certs/ /etc/ssl/certs -ENTRYPOINT stty cols 25 && slack-term -config ~/.config/slack-term/config +ENTRYPOINT stty cols 25 && slack-term -config config diff --git a/README.md b/README.md index 43d5404..bc7afe3 100644 --- a/README.md +++ b/README.md @@ -29,6 +29,15 @@ $ cd $GOPATH/src/github.com/erroneousboat/slack-term $ go install . ``` +#### Via docker + +You can also run it with docker, make sure you have a valid config file +on your host system. + +```bash +docker run -it -v [config-file]:/config erroneousboat/slack-term +``` + Setup -----