feat: setup svfb
This commit is contained in:
10
server/start.sh
Normal file
10
server/start.sh
Normal file
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Start Xvfb in the background with the desired dimensions
|
||||
Xvfb :0 -screen 0 900x400x24 &
|
||||
|
||||
# Wait for Xvfb to start
|
||||
sleep 2
|
||||
|
||||
# Execute the Node.js application
|
||||
exec npm run server
|
||||
Reference in New Issue
Block a user