Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
FROM python:3.11-slim

# BBDown 二进制来自项目私有镜像的已知好版本副本(ACR bbdown-base tag)。
# 开源用户如需自建须提供含 BBDown 的等效镜像(存量限制,非本卡引入)。
ARG BBDOWN_FROM=crpi-0vsre5argteykh9m.cn-guangzhou.personal.cr.aliyuncs.com/zlx-personal/video-transcript-api:bbdown-base

# ============================================================
# 1. ffmpeg: copy static binaries from well-maintained image
# (avoids slow apt-get with 200+ dependencies)
Expand Down Expand Up @@ -27,7 +31,7 @@ ENV LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libjemalloc.so.2
# To update BBDown version, rebuild from source:
# docker build --build-arg BBDOWN_FROM_SOURCE=1 ...
# ============================================================
COPY --from=ghcr.io/zj1123581321/video-transcript-api:latest /app/BBDown /app/BBDown
COPY --from=${BBDOWN_FROM} /app/BBDown /app/BBDown

# ============================================================
# 4. Python package manager: uv
Expand Down
Loading