NoVNC: add ability to export MYVNC_NOVNC_VNCSSH_PORT in ./build ${@}

This commit is contained in:
Myve 2024-07-23 01:39:27 +00:00
commit 526461fc5b

View file

@ -5,4 +5,9 @@
# docker build . \
# --build-arg debug=${debug:-""} \
# --tag ${buildtag:-myvnc/novnc}
docker compose up --build --detach
if [[ ${1} =~ ^[0-9]+$ ]]
then
MYVNC_NOVNC_VNCSSH_PORT=${1} docker compose up --build --detach
else
docker compose up --build --detach
fi