From 0264310d4f56bc8ed9518ebb9999d12b151a6201 Mon Sep 17 00:00:00 2001 From: Melvin Strobl Date: Wed, 14 Oct 2026 07:33:59 +0200 Subject: [PATCH] Defer ffmpeg in the image; record the decision --- backend/Dockerfile | 6 ------ docs/code/nodes.md | 5 +++-- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/backend/Dockerfile b/backend/Dockerfile index f94a4e1..93f978e 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -2,12 +2,6 @@ FROM python:3.13 ENV PYTHONUNBUFFERED=1 -# ffmpeg for node code, e.g. the docs' recipe that re-encodes a clip for a -# wall panel that only decodes H.264 Baseline. -RUN apt-get update \ - && apt-get install -y --no-install-recommends ffmpeg \ - && rm -rf /var/lib/apt/lists/* - # Install uv # Ref: https://docs.astral.sh/uv/guides/integration/docker/#installing-uv COPY --from=ghcr.io/astral-sh/uv:0.9.26 /uv /uvx /bin/ diff --git a/docs/code/nodes.md b/docs/code/nodes.md index b76caad..498a70e 100644 --- a/docs/code/nodes.md +++ b/docs/code/nodes.md @@ -150,8 +150,9 @@ def process(clip): ``` Use it only for clips headed for such a panel. Browsers play the originals, -and the result plays there too, just smaller. The Docker image ships `ffmpeg`; -a [remote worker](workers.md) needs it on its `PATH`. +and the result plays there too, just smaller. The Docker image does not ship +`ffmpeg` yet, so the node runs only where `ffmpeg` is on the `PATH`, such as a +[remote worker](workers.md). ## Printing