From efecc5c54c77bc27e6d947b63ff062abf7487a31 Mon Sep 17 00:00:00 2001 From: kudep Date: Fri, 23 Oct 2020 10:59:25 +0300 Subject: [PATCH] feat(feat/remote_launch): add a remote launch of pku --- pku | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pku b/pku index d722de8..7982191 100755 --- a/pku +++ b/pku @@ -1,4 +1,7 @@ #!/bin/bash + +cd "$(dirname "$0")" + IS_RUNNING=$(docker-compose ps -q node-pku) if [[ "$IS_RUNNING" != "" ]]; then docker-compose exec -T node-pku sh -c "node build/bin/pku.js $*"