add feishu and telegram channel

add feishu and telegram channel
This commit is contained in:
birdxs authored and GitHub committed 2026-08-13 08:41:21 +08:00
1 parent 69b41987de
commit 732ee5d2d4
1 file changed
+9 -1
+9 -1
View File
@@ -17,6 +17,9 @@ RUN npm run build
FROM python:3.11-slim@sha256:e031123e3d85762b141ad1cbc56452ba69c6e722ebf2f042cc0dc86c47c0d8b3 AS builder
# python:3.11-slim digest resolved 2026-07-13
# Build-time extras. Default installs feishu + telegram channel SDKs.
ARG VIBE_EXTRAS=feishu,telegram
RUN apt-get update && apt-get install -y --no-install-recommends \
build-essential \
&& rm -rf /var/lib/apt/lists/*
@@ -40,7 +43,12 @@ RUN pip install --no-cache-dir --require-hashes -r requirements-lock.txt
# re-creates the same /app/agent source tree the .pth file points at).
COPY pyproject.toml LICENSE README.md ./
COPY agent/ agent/
RUN pip install --no-cache-dir -e .
RUN if [ -n "$VIBE_EXTRAS" ]; then \
echo "Installing extras: ${VIBE_EXTRAS}" && \
pip install --no-cache-dir -e ".[${VIBE_EXTRAS}]"; \
else \
pip install --no-cache-dir -e .; \
fi
# ============================================================================
# Stage 3: Runtime — carries the prebuilt venv only, no compilers/dev headers.