diff --git a/Dockerfile b/Dockerfile index f809270..8ac3cb3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,7 +15,8 @@ COPY package.json package-lock.json ./ # Install all dependencies (including devDependencies for building) RUN npm ci -# Install Chromium for rebrowser-playwright +# Install Chromium for rebrowser-playwright (use China mirror) +ENV PLAYWRIGHT_DOWNLOAD_HOST=https://registry.npmmirror.com/-/binary/playwright RUN npx playwright install chromium # Copy source code