Files
chatgpt-imagegen-mcp/nixpacks.toml
T
dasemuandClaude Sonnet 5 6fed2cd382 fix: start Xvfb manually instead of via xvfb-run
xvfb-run's readiness check waits for Xvfb to send SIGUSR1, which this
build never does — it hangs forever even though the X11 socket comes
up fine. Starting Xvfb directly with a short fixed sleep is more
reliable here.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-10-08 07:27:59 +02:00

9 lines
215 B
TOML

[phases.setup]
aptPkgs = ["xvfb"]
[phases.install]
cmds = ["npm ci", "npx playwright install --with-deps chromium"]
[start]
cmd = "Xvfb :99 -screen 0 1280x1024x24 -nolisten tcp & sleep 2 && DISPLAY=:99 npm start"