DOCKER = docker
image = nginx-rtmp
tag = alpine3.12
.PHONY: all clean $(image)
all: $(image)
clean:
$(DOCKER) image rm $(image):$(tag)
$(image): Dockerfile docker-entrypoint.sh rtmp.conf
$(DOCKER) build -t $(image):$(tag) .