mirror of
https://git.roussel.pro/public-website/singapore_rain_radar.git
synced 2026-02-09 02:20:17 +01:00
Added auto restart on the container, crude fix for #2
This commit is contained in:
1
Makefile
1
Makefile
@@ -26,6 +26,7 @@ run: clean build
|
|||||||
-d \
|
-d \
|
||||||
--mount type=bind,source=$(OUTPUT_DIR),target=/home/node/app/out \
|
--mount type=bind,source=$(OUTPUT_DIR),target=/home/node/app/out \
|
||||||
--name $(APP_NAME) \
|
--name $(APP_NAME) \
|
||||||
|
--restart unless-stopped \
|
||||||
$(APP_NAME)
|
$(APP_NAME)
|
||||||
|
|
||||||
.PHONY: build debug run clean
|
.PHONY: build debug run clean
|
||||||
Reference in New Issue
Block a user