mirror of
https://github.com/bellingcat/auto-archiver.git
synced 2026-06-08 03:18:28 +03:00
Merge pull request #427 from PeterUpfold/deno-container
Fix missing JS runtime config for bguils_po_token_method
This commit is contained in:
@@ -4,15 +4,14 @@ ENV RUNNING_IN_DOCKER=1 \
|
|||||||
LANG=C.UTF-8 \
|
LANG=C.UTF-8 \
|
||||||
LC_ALL=C.UTF-8 \
|
LC_ALL=C.UTF-8 \
|
||||||
PYTHONDONTWRITEBYTECODE=1 \
|
PYTHONDONTWRITEBYTECODE=1 \
|
||||||
PYTHONFAULTHANDLER=1 \
|
PYTHONFAULTHANDLER=1
|
||||||
PATH="/root/.local/bin:$PATH"
|
|
||||||
|
|
||||||
|
|
||||||
ARG TARGETARCH
|
ARG TARGETARCH
|
||||||
|
|
||||||
# Installing system dependencies
|
# Installing system dependencies
|
||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
apt-get install -y --no-install-recommends gcc ffmpeg fonts-noto exiftool python3-tk
|
apt-get install -y --no-install-recommends gcc ffmpeg fonts-noto exiftool python3-tk
|
||||||
|
|
||||||
# Poetry and runtime
|
# Poetry and runtime
|
||||||
FROM base AS runtime
|
FROM base AS runtime
|
||||||
|
|||||||
@@ -575,6 +575,8 @@ class GenericExtractor(Extractor):
|
|||||||
"--live-from-start" if self.live_from_start else "--no-live-from-start",
|
"--live-from-start" if self.live_from_start else "--no-live-from-start",
|
||||||
"--postprocessor-args",
|
"--postprocessor-args",
|
||||||
"ffmpeg:-bitexact", # ensure bitexact output to avoid mismatching hashes for same video
|
"ffmpeg:-bitexact", # ensure bitexact output to avoid mismatching hashes for same video
|
||||||
|
"--js-runtimes",
|
||||||
|
"node", # yt-dlp defaults to deno-only; node is available in the base image
|
||||||
]
|
]
|
||||||
|
|
||||||
# proxy handling
|
# proxy handling
|
||||||
|
|||||||
Reference in New Issue
Block a user