From 9470548449eff4aa01f6841b943fc29f1a5e7eda Mon Sep 17 00:00:00 2001 From: Quentin Roussel Date: Mon, 30 Sep 2024 21:45:38 +0800 Subject: [PATCH] Added auto restart on the container, crude fix for #2 --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 4e57ff5..2455547 100644 --- a/Makefile +++ b/Makefile @@ -26,6 +26,7 @@ run: clean build -d \ --mount type=bind,source=$(OUTPUT_DIR),target=/home/node/app/out \ --name $(APP_NAME) \ + --restart unless-stopped \ $(APP_NAME) -.PHONY: build debug run clean \ No newline at end of file +.PHONY: build debug run clean