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)
|
# Install all dependencies (including devDependencies for building)
|
||||||
RUN npm ci
|
RUN npm ci
|
||||||
|
|
||||||
# Install Chromium for rebrowser-playwright
|
# Install Chromium matching rebrowser-playwright version (NOT playwright)
|
||||||
RUN npx playwright install chromium
|
RUN npx rebrowser-playwright install chromium
|
||||||
|
|
||||||
# Copy source code
|
# Copy source code
|
||||||
COPY tsconfig.json tsup.config.ts ./
|
COPY tsconfig.json tsup.config.ts ./
|
||||||
|
|||||||
Reference in New Issue
Block a user