From 3e1271536e17aced83eefaaf29bcf5c1c57b288e Mon Sep 17 00:00:00 2001 From: Antonio De Lucreziis Date: Thu, 7 Jul 2022 14:44:58 +0200 Subject: [PATCH] Updated deploy script --- deploy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy b/deploy index a1630ef..61d7af9 100755 --- a/deploy +++ b/deploy @@ -10,5 +10,5 @@ HOST_PORT="4000" git pull docker build -t "$IMAGE_NAME" . -docker stop "$CONTAINER_NAME" +docker stop "$CONTAINER_NAME" || true docker run --rm -d --name "$CONTAINER_NAME" --restart unless-stopped -p "$HOST_PORT:4000" "$IMAGE_NAME"