feat: bundle hanime-plugin and Deno JS runtime in Docker image
All checks were successful
CI / build (push) Successful in 56s
All checks were successful
CI / build (push) Successful in 56s
- Add PIP_BREAK_SYSTEM_PACKAGES=1 to install hanime-plugin via pip - Install Deno JS runtime required by the plugin's extractors - Document plugin setup and JS runtime requirement in README - Note plugin support in feature list
This commit is contained in:
13
Dockerfile
13
Dockerfile
@@ -14,7 +14,18 @@ RUN go build -o /usr/local/bin/uptodown-bot ./cmd/bot/
|
||||
|
||||
FROM alpine:3.23
|
||||
|
||||
RUN apk add --no-cache ffmpeg yt-dlp ca-certificates tzdata
|
||||
RUN apk add --no-cache ffmpeg yt-dlp ca-certificates tzdata py3-pip curl
|
||||
|
||||
# Install yt-dlp plugins (add more as needed).
|
||||
# PIP_BREAK_SYSTEM_PACKAGES bypasses PEP 668 — safe in Docker.
|
||||
RUN PIP_BREAK_SYSTEM_PACKAGES=1 pip3 install --root-user-action=ignore --no-cache-dir hanime-plugin
|
||||
|
||||
# Install Deno JS runtime (required by some yt-dlp plugins)
|
||||
RUN curl -fsSL https://deno.land/install.sh | sh
|
||||
ENV PATH="/root/.deno/bin:${PATH}"
|
||||
|
||||
# Verify Deno is available
|
||||
RUN deno --version
|
||||
|
||||
WORKDIR /data
|
||||
|
||||
|
||||
Reference in New Issue
Block a user