From cfe1d54ba2eccea03fcb7d98f24ec1d890c4310d Mon Sep 17 00:00:00 2001 From: kurihada Date: Sun, 1 Mar 2026 00:13:20 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=94=9F=E4=BA=A7=E9=98=B6=E6=AE=B5?= =?UTF-8?q?=E4=B9=9F=E6=8E=A5=E6=94=B6=E4=BB=A3=E7=90=86=E5=8A=A0=E9=80=9F?= =?UTF-8?q?=20apt-get?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Dockerfile b/Dockerfile index 95a4bbe..830b1fc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -40,6 +40,12 @@ RUN npm prune --omit=dev FROM node:22-slim +# Proxy for apt-get (passed via --build-arg) +ARG HTTP_PROXY +ARG HTTPS_PROXY +ENV HTTP_PROXY=${HTTP_PROXY} \ + HTTPS_PROXY=${HTTPS_PROXY} + # Install Chromium dependencies required by Playwright/rebrowser-playwright RUN apt-get update && apt-get install -y --no-install-recommends \ libnss3 \