All checks were successful
Docker Build & Push / build-and-publish (push) Successful in 42s
15 lines
367 B
Makefile
15 lines
367 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 \
|
|
-v .env:/code/.env:re \
|
|
--name $(CONTAINER_NAME) \
|
|
-p 8000:8000 \
|
|
$(IMAGE_NAME)
|