ytdl-sub/docker/Dockerfile.minimal
Kai Giokas 87dd0b0966
Add minimal dockerfile, k8s example
There's already a nice docker setup for this, but I've been
using this in kubernetes pretty nicely as a cronjob.
2025-03-17 11:36:39 -05:00

13 lines
308 B
Text

FROM python:alpine
# Install required non-python dependencies.
# Just using the built-in ffmpeg for ease of creation.
RUN apk add --no-cache ffmpeg aria2
RUN --mount=type=cache,target=/root/.cache \
pip install ytdl-sub
VOLUME /config
VOLUME /media
# Default to a non-root user after build.
USER nobody