From 5720be8ca6517f47d46ed4e9e6f004f2704c00a8 Mon Sep 17 00:00:00 2001 From: Soulter <37870767+Soulter@users.noreply.github.com> Date: Tue, 17 Sep 2024 19:08:23 +0800 Subject: [PATCH] perf: shrink the image size --- Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 77822e3..0e964ec 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,6 @@ WORKDIR /app COPY . . RUN pip install --no-cache-dir -r requirements.txt \ - && playwright install-deps \ - && playwright install + && playwright install --with-deps chromium -CMD ["python", "main.py"] \ No newline at end of file +CMD ["python", "main.py"]