From 26988bd60724ec34ccfc2430b86c56f7d736072a Mon Sep 17 00:00:00 2001 From: nardis556 <82609175+nardis556@users.noreply.github.com> Date: Sun, 16 Apr 2023 15:03:12 -0500 Subject: [PATCH] Update entrypoint.sh --- backend/entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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