fix: Chromium 下载使用国内镜像加速
This commit is contained in:
+2
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user