log-center/k8s-monitor/Dockerfile
repair-agent 832bfdd80d
Some checks failed
Build and Deploy Log Center / build-and-deploy (push) Failing after 14s
fix: use hub.rat.dev mirror for base images
Buildkit ignores daemon.json registry-mirrors, so specify
mirror directly in FROM statements.

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

14 lines
322 B
Docker

FROM hub.rat.dev/library/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"]