melpazoid/Makefile
2020-02-23 22:28:05 -08:00

19 lines
354 B
Makefile

IMAGE_NAME = melpazoid
PACKAGE_NAME ?= NONE
.PHONY: run
run:
python melpazoid.py
.PHONY: term
test: image
@docker run -it --rm --network none ${IMAGE_NAME}
.PHONY: term
term: image
docker run -it --rm --entrypoint=/bin/bash ${IMAGE_NAME}
.PHONY: image
image:
@docker build --build-arg PACKAGE_NAME --quiet \
--tag ${IMAGE_NAME} -f Dockerfile .