From 55a557468e4fcaf2d6bfbf4e6fdade289099caee Mon Sep 17 00:00:00 2001 From: ThePhaseless Date: Fri, 18 Oct 2024 16:52:19 +0000 Subject: [PATCH] add display to env --- entrypoint.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/entrypoint.sh b/entrypoint.sh index 5a3ad17..c1074fa 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -14,4 +14,6 @@ x11vnc -display :0 -forever -ncache 10 & # Add delay sleep 5 +# Activate virtual environment +export DISPLAY=:0 . .venv/bin/activate && python3 main.py \ No newline at end of file