fix: 用 rebrowser-playwright CLI 安装 Chromium(修复版本不匹配)
This commit is contained in:
+2
-2
@@ -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 ./
|
||||
|
||||
Reference in New Issue
Block a user