14 lines
340 B
Makefile
14 lines
340 B
Makefile
IMAGE_NAME = twimg-app
|
|
CONTAINER_NAME = twimg-app
|
|
|
|
# Target to build the Docker image for sdr-node
|
|
build:
|
|
docker build -t $(IMAGE_NAME) .
|
|
|
|
# Target to run the sdr-node container
|
|
run: build
|
|
docker run --rm -it \
|
|
-v /mnt/shadowplays/TWIMG-Eligible:/videos:ro \
|
|
--name $(CONTAINER_NAME) \
|
|
-p 8000:8000 \
|
|
$(IMAGE_NAME)
|