diff --git a/backend/entrypoint.sh b/backend/entrypoint.sh index ed568e7..87bb620 100755 --- a/backend/entrypoint.sh +++ b/backend/entrypoint.sh @@ -1,7 +1,7 @@ #!/bin/sh set -eu -CMD="npm start" +CMD="npm start && pm2 start" # if the first arg starts with "-" pass it to program if [ "${1#-}" != "$1" ]; then