From d68841d9f75636575cd778838a8ceea5fd5aada3 Mon Sep 17 00:00:00 2001 From: Fiete Ostkamp Date: Fri, 14 Apr 2023 11:59:32 +0000 Subject: Upload ui Issue-ID: PORTAL-1084 Signed-off-by: Fiete Ostkamp Change-Id: Id0c94859a775094e67b0bb9c91ca5e776a08c068 --- development/stop.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 development/stop.sh (limited to 'development/stop.sh') diff --git a/development/stop.sh b/development/stop.sh new file mode 100755 index 0000000..4ef4493 --- /dev/null +++ b/development/stop.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env bash +SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) + +# shutdown all docker container +docker compose -f "$SCRIPT_DIR/docker-compose.yml" down -v + +# kill the npm process which server on port 80 +kill `lsof -t -i:80` -- cgit 1.2.3-korg