diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index b2191b7..63f9c3f 100755 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -1,10 +1,7 @@ #!/bin/sh if ! which -- "${1}"; then # first arg is not an executable - if [ -e /tmp/.X99-lock ] - then - rm /tmp/.X99-lock -f - fi + if [ -e /tmp/.X99-lock ]; then rm /tmp/.X99-lock -f; fi export DISPLAY=:99 Xvfb "${DISPLAY}" -nolisten unix & exec node /usr/src/app/ "$@"