fix: 去掉 Chromium 国内镜像(npmmirror 未同步该版本)
This commit is contained in:
+1
-2
@@ -15,8 +15,7 @@ COPY package.json package-lock.json ./
|
||||
# Install all dependencies (including devDependencies for building)
|
||||
RUN npm ci
|
||||
|
||||
# Install Chromium for rebrowser-playwright (use China mirror)
|
||||
ENV PLAYWRIGHT_DOWNLOAD_HOST=https://registry.npmmirror.com/-/binary/playwright
|
||||
# Install Chromium for rebrowser-playwright
|
||||
RUN npx playwright install chromium
|
||||
|
||||
# Copy source code
|
||||
|
||||
Reference in New Issue
Block a user