mirror of
https://git.roussel.pro/public-website/singapore_rain_radar.git
synced 2026-02-09 02:20:17 +01:00
bypassed browser fingerprinting
This commit is contained in:
14
Makefile
14
Makefile
@@ -1,12 +1,24 @@
|
||||
APP_NAME = "sg_rainradar_video"
|
||||
APP_NAME = "sg_rain_radar"
|
||||
OUTPUT_DIR = $(PWD)/out
|
||||
|
||||
build:
|
||||
docker build . -t $(APP_NAME)
|
||||
|
||||
debug:build
|
||||
mkdir -p $(OUTPUT_DIR)
|
||||
mkdir -p $(PWD)/images/raw
|
||||
mkdir -p $(PWD)/images/final
|
||||
docker run \
|
||||
-it \
|
||||
--mount type=bind,source=$(PWD)/images,target=/home/node/app/images \
|
||||
--mount type=bind,source=$(OUTPUT_DIR),target=/home/node/app/out \
|
||||
$(APP_NAME)
|
||||
|
||||
run:build
|
||||
mkdir -p $(OUTPUT_DIR)
|
||||
docker run \
|
||||
-d \
|
||||
--mount type=bind,source=$(OUTPUT_DIR),target=/home/node/app/out \
|
||||
$(APP_NAME)
|
||||
|
||||
.PHONY: build debug run
|
||||
Reference in New Issue
Block a user