build: 标准镜像名 + 阿里apt + 清华pip + playwright国内镜像

This commit is contained in:
deploy
2026-10-29 12:30:43 +08:00
parent c3b5500577
commit 0e4d292aba
+2 -2
View File
@@ -1,4 +1,4 @@
FROM docker.m.daocloud.io/library/python:3.11-slim FROM python:3.11-slim
ENV TZ=Asia/Shanghai \ ENV TZ=Asia/Shanghai \
DEBIAN_FRONTEND=noninteractive \ DEBIAN_FRONTEND=noninteractive \
@@ -20,7 +20,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
COPY requirements.txt . COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt \ RUN pip install --no-cache-dir -r requirements.txt \
&& playwright install chromium || true && (playwright install chromium || playwright install chromium || true)
COPY . . COPY . .