log-center/k8s-monitor/Dockerfile
repair-agent 0fdc62b99e
All checks were successful
Build and Deploy Log Center / build-and-deploy (push) Successful in 58s
fix: disable buildkit to use host Docker daemon and mirror cache
Buildkit runs in isolated network and can't access mirrors.
Legacy builder uses host daemon directly with registry-mirrors.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 16:46:41 +08:00

14 lines
302 B
Docker

FROM python:3.12-slim
WORKDIR /app
RUN pip config set global.index-url https://mirrors.aliyun.com/pypi/simple/ \
&& pip config set install.trusted-host mirrors.aliyun.com
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY monitor.py .
CMD ["python", "monitor.py"]