From 2e6c7e080502449735b5f745a0c4448580323e63 Mon Sep 17 00:00:00 2001 From: Tony Grosinger Date: Thu, 7 Nov 2019 06:47:25 -0800 Subject: [PATCH] Add example script for building and running the container --- .gitignore | 1 + build.sh | 3 +++ run.example.sh | 6 ++++++ 3 files changed, 10 insertions(+) create mode 100755 build.sh create mode 100755 run.example.sh diff --git a/.gitignore b/.gitignore index 54bcdd7..4fd26bc 100644 --- a/.gitignore +++ b/.gitignore @@ -113,4 +113,5 @@ dmypy.json # project specific last.txt subs.xml +run.sh diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..6017b33 --- /dev/null +++ b/build.sh @@ -0,0 +1,3 @@ +#!/usr/bin/env sh + +docker build -t youtube-dl-subscriptions . diff --git a/run.example.sh b/run.example.sh new file mode 100755 index 0000000..385a9ff --- /dev/null +++ b/run.example.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env sh + +docker run --rm \ + -v :/youtube -v :/config \ + youtube-dl-subscriptions \ + --save-directory /youtube --config-directory /config --retain 14