diff --git a/Dockerfile b/Dockerfile index 3f1c7e0..3a6c900 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM docker.m.daocloud.io/library/python:3.11-slim +FROM python:3.11-slim ENV TZ=Asia/Shanghai \ DEBIAN_FRONTEND=noninteractive \ @@ -20,7 +20,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt \ - && playwright install chromium || true + && (playwright install chromium || playwright install chromium || true) COPY . .