ytdl-sub/docker
Ross Patterson 2cc24e85f1
fix(docker): Default config available in WORKDIR
When running arbitrary commands in the container, the default configuration and
subscription file paths don't work. I've tested using `$ docker compose up
--workdir="/config" ...` and the s6-overlay base image bits seem to work just fine, the
output from running cron jobs appears. Then running `$ ytdl-sub sub` without options
"Just Works", so I think baking a `WORKDIR` into the image should be OK, but this should
be tested further before breaking everybody's deployments.

I tested locally by bringing up the compose services and confirming from the output that
the s6-overlay init and cron seem to be working correctly. Then I ran `$ ytdl-sub sub
--dry-run` using both `$ docker compose run ...` and `$ docker compose exec ...`. Before
this change, it exits immediately with a message about the subscriptions file
missing. After this change, it starts to download the `NOVA PBS` subscription. In the
GUI image, I also tested the same command in the VS Code web UI terminal.
2025-08-27 09:52:43 -07:00
..
root [DOCKER] Missing cron script stderr output (#1307) 2025-08-27 09:02:45 -07:00
testing build(docker): Ubuntu variant volume source clash 2025-08-27 09:52:32 -07:00
Dockerfile fix(docker): Default config available in WORKDIR 2025-08-27 09:52:43 -07:00
Dockerfile.gui fix(docker): Default config available in WORKDIR 2025-08-27 09:52:43 -07:00
Dockerfile.headless build(docker): Local Docker image build/testing 2025-08-27 09:52:32 -07:00
Dockerfile.ubuntu fix(docker): Default config available in WORKDIR 2025-08-27 09:52:43 -07:00