chore: remove old car-help files, prepare new structure
This commit is contained in:
@@ -1,29 +0,0 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
export DISPLAY=:99
|
||||
Xvfb :99 -screen 0 1280x720x24 -ac &
|
||||
sleep 1
|
||||
|
||||
x11vnc -display :99 -forever -nopw -listen 0.0.0.0 -rfbport 5900 -shared 2>/dev/null &
|
||||
sleep 1
|
||||
|
||||
websockify --web=/usr/share/novnc/ 6080 localhost:5900 &
|
||||
sleep 1
|
||||
|
||||
echo "noVNC ready on :6080"
|
||||
|
||||
# Start FastAPI -- use uv run from /app
|
||||
cd /app
|
||||
uv run python -m uvicorn app:app --host 0.0.0.0 --port 8080 --log-level info &
|
||||
sleep 2
|
||||
|
||||
echo "============================================="
|
||||
echo " car-help UI: http://localhost:8080"
|
||||
echo "============================================="
|
||||
|
||||
if [ $# -eq 0 ]; then
|
||||
tail -f /dev/null
|
||||
else
|
||||
exec "$@"
|
||||
fi
|
||||
Reference in New Issue
Block a user