This commit is contained in:
2019-04-12 21:55:09 +02:00
commit 9c1338c0c2
14 changed files with 133 additions and 0 deletions

18
Makefile Normal file
View File

@@ -0,0 +1,18 @@
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 -p 80:80 --name $(APPLICATION_NAME) $(IMAGE_NAME)
$(DOCKER) rm $(APPLICATION_NAME)