~mser/d2-holy-grail-docker

ref: e6f4df577258c62236faa3311823ed18a5d40ec5 d2-holy-grail-docker/docker-cmd-start.sh -rw-r--r-- 108 bytes
e6f4df57Michael Serajnik Import project 2 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

stop() {
  pkill node
  sleep 1
}

trap "stop" SIGTERM

wait-for-hosts && npm run prod &
wait $!