mirror of
https://github.com/Dasemu/chatgpt-imagegen-mcp.git
synced 2026-11-26 15:26:21 +00:00
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>
This commit is contained in:
1 parent
c550cea4a3
commit
6fed2cd382
1 file changed
+1
-1
+1
-1
@@ -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"
|
||||
Reference in new issue
Block a user