Update running with docker

This commit is contained in:
erroneousboat 2020-03-14 11:31:53 +01:00
parent 0d8e8aca4c
commit ddbce728c7
2 changed files with 10 additions and 1 deletions

View File

@ -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

View File

@ -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
-----