fix: 用 rebrowser-playwright CLI 安装 Chromium(修复版本不匹配)

This commit is contained in:
2026-03-01 00:32:53 +08:00
parent e13ace58e5
commit d7d3735405
+2 -2
View File
@@ -21,8 +21,8 @@ COPY package.json package-lock.json ./
# Install all dependencies (including devDependencies for building)
RUN npm ci
# Install Chromium for rebrowser-playwright
RUN npx playwright install chromium
# Install Chromium matching rebrowser-playwright version (NOT playwright)
RUN npx rebrowser-playwright install chromium
# Copy source code
COPY tsconfig.json tsup.config.ts ./