Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit af95cf5

Browse files
committed
try install additional deps.
1 parent 2b72197 commit af95cf5

File tree

3 files changed

+31
-0
lines changed

3 files changed

+31
-0
lines changed

chrome-dependencies.txt

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
mesa-libgbm
2+
nss
3+
nspr
4+
at-spi2-atk
5+
cups-libs
6+
libdrm
7+
libXcomposite
8+
libXdamage
9+
libXext
10+
libXrandr
11+
libgbm
12+
libxcb
13+
alsa-lib
14+
atk
15+
gtk3
16+
pango
17+
libxkbcommon

puppeteer.config.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"cacheDirectory": "/vercel/.cache/puppeteer",
3+
"executablePath": "/vercel/.cache/puppeteer/chrome/linux-131.0.6778.204/chrome-linux64/chrome",
4+
"args": [
5+
"--no-sandbox",
6+
"--disable-setuid-sandbox",
7+
"--disable-dev-shm-usage"
8+
]
9+
}

vercel.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"buildCommand": "yarn build",
3+
"installCommand": "dnf install -y $(cat chrome-dependencies.txt) && pnpm install && pnpm exec browsers install [email protected] --path /vercel/.cache/puppeteer",
4+
"framework": "nextjs"
5+
}

0 commit comments

Comments
 (0)