From 0c17499efae3eb888f058f5f5cb83d4c78d3fffd Mon Sep 17 00:00:00 2001 From: Dymas Date: Thu, 9 Jul 2026 15:03:27 +0200 Subject: [PATCH] Install anipy-cli in Docker image Install anipy-cli systemwide during the Docker build so fallback downloads work inside the container without extra setup, and update the README to describe the new Docker behavior. --- Dockerfile | 3 +++ README.md | 5 +++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1298afb..664f3b0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -48,6 +48,9 @@ RUN curl -fL "${YT_DLP_RELEASE_URL}" -o /usr/local/bin/yt-dlp \ && chmod 0755 /usr/local/bin/yt-dlp \ && yt-dlp --version +RUN python3 -m pip install --no-cache-dir anipy-cli \ + && anipy-cli --version + RUN git clone --depth 1 --branch "${ANI_CLI_WEB_BRANCH}" "${ANI_CLI_WEB}" /app \ && rm -rf /app/.git \ && rm -f \ diff --git a/README.md b/README.md index 0ed470f..8948017 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ Current version: `0.47.0` Requirements: - `ani-cli` installed and available in `PATH` -- Optional: `anipy-cli` installed and available in `PATH` if you want automatic fallback retries +- Optional: `anipy-cli` installed and available in `PATH` if you want automatic fallback retries outside Docker - Common runtime tools used by `ani-cli`, especially `curl`, `ffmpeg`, `fzf`, `grep`, `openssl`, `sed`, `aria2c`, and `yt-dlp` Run locally: @@ -93,6 +93,7 @@ Docker notes: - `USER_UID` and `USER_GID` help keep mounted files owned by your host user - `UPDATE_ON_START=true` runs `ani-cli --update` before startup - `ANI_CLI_WEB_BRANCH` lets the image clone a specific `ani-cli-web` branch at build time +- `anipy-cli` is installed systemwide inside the container, so fallback retries are available without extra container setup ## Key behavior @@ -115,7 +116,7 @@ Docker notes: - Optional and configured from `/config` - When enabled, a failed `ani-cli` queue job retries once with `anipy-cli` -- `anipy-cli` should be installed separately on the host or inside your container if you want the retry path to be available +- Docker images install `anipy-cli` automatically; non-Docker installs should provide it in `PATH` themselves ### Jellyfin handoff