Add example script for building and running the container
This commit is contained in:
parent
ea994e3d9f
commit
2e6c7e0805
1
.gitignore
vendored
1
.gitignore
vendored
@ -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
3
build.sh
Executable file
@ -0,0 +1,3 @@
|
|||||||
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
|
docker build -t youtube-dl-subscriptions .
|
6
run.example.sh
Executable file
6
run.example.sh
Executable 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
|
Reference in New Issue
Block a user