summaryrefslogtreecommitdiffstats
path: root/development/stop.sh
blob: 4ef4493a9052224d5a961e1183fcdec986777cce (plain)
1
2
3
4
5
6
7
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`