mirror of
https://git.myvelabs.com/novnc/alpine.git
synced 2025-12-17 21:26:21 +00:00
NoVNC: add ability to export MYVNC_NOVNC_VNCSSH_PORT in ./build ${@}
This commit is contained in:
parent
1916f38436
commit
526461fc5b
1 changed files with 6 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue