From f3babdeb20a948bd52c18ad261d9f56868dbdb5a Mon Sep 17 00:00:00 2001 From: Sambo Chea Date: Sun, 7 Mar 2021 12:24:11 +0700 Subject: [PATCH] Updated run script for clean run command --- scripts/run.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/run.sh b/scripts/run.sh index 70d0b3b..105edeb 100755 --- a/scripts/run.sh +++ b/scripts/run.sh @@ -4,4 +4,7 @@ echo "Stop and remove container..." docker rm -f highcharts-export-server echo "Run the container..." -docker run -d --name highcharts-export-server -p 8080:8080 registry.kh.cubetiqs.com/highcharts-export-server \ No newline at end of file +docker run --name highcharts-export-server \ + -p 8080:8080 \ + --restart always \ + -d registry.kh.cubetiqs.com/highcharts-export-server \ No newline at end of file