From 1c10493a4a42b58cd5d7eb877738252f22930e1a Mon Sep 17 00:00:00 2001 From: Francesco Grazioso Date: Fri, 12 Apr 2024 13:09:45 +0200 Subject: [PATCH] add instructions to save media locally --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ee21a63..38b0891 100644 --- a/README.md +++ b/README.md @@ -197,7 +197,13 @@ docker build -t streaming-community-api . and to run it use ``` -docker run -it -p 8000:8000 streaming-community-api +docker run -it -p 8000:8000 -v streaming-community-api +``` + +By default the videos will be saved in `/app/Video`, if you want to to save them in your machine instead of the container just run + +``` +docker run -it -p 8002:8000 -v /path/to/download:/app/Video streaming-community-api ``` ## Tutorial