From 78e1d3aaeec7bd8d07739330a1279e92bc26df67 Mon Sep 17 00:00:00 2001 From: Mmx233 Date: Thu, 9 Mar 2023 09:57:23 +0800 Subject: [PATCH] =?UTF-8?q?build:=20=E6=9E=84=E5=BB=BA=E6=97=B6=E5=AE=89?= =?UTF-8?q?=E8=A3=85=20playwright=20=E4=BE=9D=E8=B5=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dockerfile b/dockerfile index e7c928a..5e6c19c 100644 --- a/dockerfile +++ b/dockerfile @@ -19,4 +19,8 @@ COPY . . RUN sed -i 's/^\-\-index\-url\s.*$//' requirements.txt && \ pip3 install --no-cache-dir -r requirements.txt +RUN playwright install-deps && \ + playwright install chromium && \ + rm -rf /var/lib/apt/lists/* + CMD ["nb", "run"] \ No newline at end of file