Files
twimg-backend/Makefile
Logan Cusano 5e885dab54
All checks were successful
Docker Build & Push / build-and-publish (push) Successful in 42s
Remove env from the dockerfile and add it to the makefile
2025-11-19 03:25:39 -05:00

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)