Initial
This commit is contained in:
18
Makefile
Normal file
18
Makefile
Normal 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)
|
||||
Reference in New Issue
Block a user