From 85be676b2ba14383c0bfce669ae1dc9588155233 Mon Sep 17 00:00:00 2001 From: DDSDerek <108336573+DDSDerek@users.noreply.github.com> Date: Sat, 29 Jul 2023 04:01:44 +0800 Subject: [PATCH] fix: playwight install chromium depends --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index e3866a80..1cce9585 100644 --- a/Dockerfile +++ b/Dockerfile @@ -40,13 +40,13 @@ RUN apt-get update \ procps \ gosu \ bash \ - && playwright install-deps chromium \ && mkdir -p /etc/nginx ${HOME} \ && cp -f nginx.conf /etc/nginx/nginx.template.conf \ && groupadd -r moviepilot -g 911 \ && useradd -r moviepilot -g moviepilot -d ${HOME} -s /bin/bash -u 911 \ && pip install --upgrade pip \ && pip install -r requirements.txt \ + && playwright install-deps chromium \ && python_ver=$(python3 -V | awk '{print $2}') \ && echo "/app/" > /usr/local/lib/python${python_ver%.*}/site-packages/app.pth \ && echo 'fs.inotify.max_user_watches=5242880' >> /etc/sysctl.conf \