Defer ffmpeg in the image; record the decision
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
47d0a42849
commit
3f98fff7e5
@@ -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/
|
||||
|
||||
+3
-2
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user