18 lines
276 B
Makefile
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)
|