DOCKER = docker image = stream-player tag = stable-alpine .PHONY: all clean $(image) all: $(image) clean: $(DOCKER) image rm $(image):$(tag) $(image): Dockerfile package.json $(DOCKER) build -t $(image):$(tag) .