wip: docker alpine version

This commit is contained in:
Trung Le 2022-04-14 01:45:47 +07:00
parent 7971be297c
commit 5e6df5b82d
5 changed files with 108 additions and 3 deletions

View file

@ -1,10 +1,10 @@
#!/bin/sh
set -e
# Start VNC in a background process:
x11vnc -display "$DISPLAY" -forever -shared -rfbport "${VNC_PORT:-5900}" \
-passwd "${VNC_PASSWORD:-secret}" -bg
NOVNC_HOME=/usr/share/novnc
ln -s $NOVNC_HOME/vnc_auto.html $NOVNC_HOME/index.html
# ln -s $NOVNC_HOME/vnc_auto.html $NOVNC_HOME/index.html
websockify -D --web "$NOVNC_HOME" "$NOVNC_PORT" "localhost:$VNC_PORT" &
# Execute the given command: