Defer ffmpeg in the image; record the decision
This commit is contained in:
@@ -2,12 +2,6 @@ FROM python:3.13
|
|||||||
|
|
||||||
ENV PYTHONUNBUFFERED=1
|
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
|
# Install uv
|
||||||
# Ref: https://docs.astral.sh/uv/guides/integration/docker/#installing-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/
|
COPY --from=ghcr.io/astral-sh/uv:0.9.26 /uv /uvx /bin/
|
||||||
|
|||||||
+3
-2
@@ -150,8 +150,9 @@ def process(clip):
|
|||||||
```
|
```
|
||||||
|
|
||||||
Use it only for clips headed for such a panel. Browsers play the originals,
|
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`;
|
and the result plays there too, just smaller. The Docker image does not ship
|
||||||
a [remote worker](workers.md) needs it on its `PATH`.
|
`ffmpeg` yet, so the node runs only where `ffmpeg` is on the `PATH`, such as a
|
||||||
|
[remote worker](workers.md).
|
||||||
|
|
||||||
## Printing
|
## Printing
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user