1
0

Add example script for building and running the container

This commit is contained in:
Tony Grosinger 2019-11-07 06:47:25 -08:00
parent ea994e3d9f
commit 2e6c7e0805
Signed by: tgrosinger
GPG Key ID: 065559ACE0A9C69C
3 changed files with 10 additions and 0 deletions

1
.gitignore vendored
View File

@ -113,4 +113,5 @@ dmypy.json
# project specific # project specific
last.txt last.txt
subs.xml subs.xml
run.sh

3
build.sh Executable file
View File

@ -0,0 +1,3 @@
#!/usr/bin/env sh
docker build -t youtube-dl-subscriptions .

6
run.example.sh Executable file
View File

@ -0,0 +1,6 @@
#!/usr/bin/env sh
docker run --rm \
-v <video-output>:/youtube -v <configs>:/config \
youtube-dl-subscriptions \
--save-directory /youtube --config-directory /config --retain 14