Skip to content

Commit 99b8baa

Browse files
committed
docs(readme): update Docker usage examples with revised cache volume path and formatting
1 parent 0e99a97 commit 99b8baa

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,14 +81,20 @@ By default, the `WARN` level is used. You can change it with the `LOG_LEVEL` env
8181
Run with Docker:
8282

8383
```shell
84-
docker run --rm -v $(pwd)/output:/app/output -v cache:/app/cache ghcr.io/obeone/crawler-to-md --url <URL>
84+
docker run --rm \
85+
-v $(pwd)/output:/app/output \
86+
-v cache:/home/app/.cache/crawler-to-md \
87+
ghcr.io/obeone/crawler-to-md --url <URL>
8588
```
8689

8790
Build from source:
8891

8992
```shell
9093
docker build -t crawler-to-md .
91-
docker run --rm -v $(pwd)/output:/app/output crawler-to-md --url <URL>
94+
95+
docker run --rm \
96+
-v $(pwd)/output:/app/output \
97+
crawler-to-md --url <URL>
9298
```
9399

94100
## 🤝 Contributing

0 commit comments

Comments
 (0)