Files
docker-django-test/Makefile
2019-04-13 15:34:59 +02:00

18 lines
276 B
Makefile

APPLICATION_NAME := django-test
IMAGE_NAME := heinzel/$(APPLICATION_NAME)
DOCKER := docker
.PHONY: default help image run
default: image
help:
@echo "There is no help."
image:
$(DOCKER) build -t $(IMAGE_NAME) .
test-run:
$(DOCKER) run -ti --rm -p 80:80 $(IMAGE_NAME)