Remove wrong restore of port 80
This commit is contained in:
commit
762007c77d
2 changed files with 2 additions and 2 deletions
|
|
@ -3,7 +3,7 @@ if ! which -- "${1}"; then
|
||||||
# first arg is not an executable
|
# first arg is not an executable
|
||||||
export DISPLAY=:99
|
export DISPLAY=:99
|
||||||
Xvfb "${DISPLAY}" -nolisten unix &
|
Xvfb "${DISPLAY}" -nolisten unix &
|
||||||
exec node /usr/src/app/ -p 80 "$@"
|
exec node /usr/src/app/ "$@"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
exec "$@"
|
exec "$@"
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
if ! which -- "${1}"; then
|
if ! which -- "${1}"; then
|
||||||
# first arg is not an executable
|
# first arg is not an executable
|
||||||
exec node /usr/src/app/ -p 80 "$@"
|
exec node /usr/src/app/ "$@"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
exec "$@"
|
exec "$@"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue