From 20945d733dd20adb02bd682e614b7b3d72fb07c6 Mon Sep 17 00:00:00 2001 From: intergalacticalvariable <122162563+intergalacticalvariable@users.noreply.github.com> Date: Sat, 28 Sep 2024 10:54:28 +0200 Subject: [PATCH] Update README.md --- README.md | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 481a002..a384b2d 100644 --- a/README.md +++ b/README.md @@ -28,11 +28,25 @@ It converts any URL to an LLM-friendly input with `http://127.0.0.1:3000/https:/ ``` 2. Run the container: - - Replace `/path/to/local-storage` with the directory where you want to store screenshots. - ```bash - docker run -p 3000:3000 -v /path/to/local-storage:/app/local-storage ghcr.io/intergalacticalvariable/reader:latest + docker run -d -p 3000:3000 -v /path/to/local-storage:/app/local-storage --name reader-container ghcr.io/intergalacticalvariable/reader:latest + ``` + + Replace `/path/to/local-storage` with the directory where you want to store screenshots. + + This command does the following: + - Maps port 3000 of the container to port 3000 on your host + - Mounts a volume for local storage + - Names the container `reader-container` + +3. To stop the container: + ```bash + docker stop reader-container + ``` + +4. To start the container again: + ```bash + docker start reader-container ```