clean up Dockerfile and move down config such that it does not trigger rebuild

This commit is contained in:
Ralf Vogler 2022-10-20 20:45:44 +02:00
parent 9f0e50afb6
commit a789034c51
2 changed files with 17 additions and 17 deletions

View file

@ -20,7 +20,7 @@ rm -f /tmp/.X1-lock
Xvfb :1 -ac -screen 0 "${SCREEN_WIDTH}x${SCREEN_HEIGHT}x${SCREEN_DEPTH}" >/dev/null 2>&1 &
x11vnc -display :1.0 -forever -shared -rfbport "${VNC_PORT:-5900}" -bg -nopw # -passwd "${VNC_PASSWORD}"
websockify -D --web "$NOVNC_HOME" "$NOVNC_PORT" "localhost:$VNC_PORT" &
websockify -D --web "/usr/share/novnc/" "$NOVNC_PORT" "localhost:$VNC_PORT" &
DISPLAY=:1.0
export DISPLAY
exec tini -g -- "$@"