Skip to content

Commit 2a4a7cb

Browse files
docs: added --interactive --tty flags to docker installation
This is because adding those flags allows chalk to see if the terminal supports color, which looks nice. Without it, that does not work.
1 parent cf815e5 commit 2a4a7cb

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ You can also install Slyde in your path by adding the `--global` flag. You might
138138
To install and run slyde using [docker](http://docker.com), run the following command:
139139

140140
```Shell
141-
docker run --volume "$PWD:/src" --rm ghcr.io/tygo-van-den-hurk/slyde:latest compile /src/slyde.xml --output /src/slyde.html
141+
docker run --interactive --tty --volume "$PWD:/pwd" --rm ghcr.io/tygo-van-den-hurk/slyde:latest compile /pwd/slyde.xml --output /pwd/slyde.html
142142
```
143143

144144
### Building from source

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ You can also install Slyde in your path by adding the `--global` flag. You might
5151
To install and run slyde using [docker](http://docker.com), run the following command:
5252

5353
```Shell
54-
docker run --volume "$PWD:/src" --rm ghcr.io/tygo-van-den-hurk/slyde:latest compile /src/slyde.xml --output /src/slyde.html
54+
docker run --interactive --tty --volume "$PWD:/pwd" --rm ghcr.io/tygo-van-den-hurk/slyde:latest compile /pwd/slyde.xml --output /pwd/slyde.html
5555
```
5656

5757
### Building from source

0 commit comments

Comments
 (0)