From 6fed2cd3827100c3d7e2787a19573096f629249a Mon Sep 17 00:00:00 2001 From: dasemu Date: Thu, 8 Oct 2026 07:27:59 +0200 Subject: [PATCH] fix: start Xvfb manually instead of via xvfb-run MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- nixpacks.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixpacks.toml b/nixpacks.toml index 4f1269c..e236772 100644 --- a/nixpacks.toml +++ b/nixpacks.toml @@ -5,4 +5,4 @@ aptPkgs = ["xvfb"] cmds = ["npm ci", "npx playwright install --with-deps chromium"] [start] -cmd = "xvfb-run -a npm start" +cmd = "Xvfb :99 -screen 0 1280x1024x24 -nolisten tcp & sleep 2 && DISPLAY=:99 npm start"