From a555c9b654248931190079ba5a4e3c645a20ef05 Mon Sep 17 00:00:00 2001 From: DDSRem <73049927+DDSRem@users.noreply.github.com> Date: Sat, 21 Sep 2024 13:11:35 +0800 Subject: [PATCH] feat(playwright): add proxy support for chromium installation --- entrypoint | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint b/entrypoint index 7b8107e74..cd3c4132f 100644 --- a/entrypoint +++ b/entrypoint @@ -21,7 +21,7 @@ chown -R moviepilot:moviepilot \ /var/log/nginx chown moviepilot:moviepilot /etc/hosts /tmp # 下载浏览器内核 -gosu moviepilot:moviepilot playwright install chromium +HTTPS_PROXY="${HTTPS_PROXY:-${https_proxy:-$PROXY_HOST}}" gosu moviepilot:moviepilot playwright install chromium # 启动前端nginx服务 nginx # 启动docker http proxy nginx