fix: improve wechat collector deploy visibility

This commit is contained in:
Codex
2026-06-13 14:54:34 +00:00
parent 19930f56ce
commit 5d484d1ac4
5 changed files with 100 additions and 8 deletions
@@ -1,10 +1,17 @@
FROM python:3.12-alpine
ARG WCFERRY_VERSION=39.5.2.0
ARG PIP_INDEX_URL=http://mirrors.aliyun.com/pypi/simple/
ARG PIP_TRUSTED_HOST=mirrors.aliyun.com
ARG PIP_TIMEOUT_SECONDS=120
ARG PIP_RETRIES=8
RUN apk add --no-cache ca-certificates tzdata \
&& python -m pip install --no-cache-dir --trusted-host mirrors.aliyun.com \
--index-url http://mirrors.aliyun.com/pypi/simple/ \
&& python -m pip install --no-cache-dir \
--trusted-host "${PIP_TRUSTED_HOST}" \
--index-url "${PIP_INDEX_URL}" \
--timeout "${PIP_TIMEOUT_SECONDS}" \
--retries "${PIP_RETRIES}" \
"wcferry==${WCFERRY_VERSION}" \
&& python - <<'PY'
import importlib.metadata