From 318c213573ccc1e85e48a60002e694716388be64 Mon Sep 17 00:00:00 2001 From: Cody Hiar Date: Fri, 23 Mar 2018 20:26:46 -0600 Subject: Move docker from build dir to docker --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 97e4d39..fabe763 100644 --- a/Makefile +++ b/Makefile @@ -8,9 +8,9 @@ help: @grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}' build: ## Build the Docker image - cp -r requirements.txt ./build - cp -r config.json ./build - docker build -t $(IMAGENAME) ./build + cp -r requirements.txt ./docker + cp -r config.json ./docker + docker build -t $(IMAGENAME) ./docker up: build ## Bring the Docker container up docker run -td -v $(PWD):/opt --name $(CONTAINERNAME) $(IMAGENAME) || echo 'Already up!' -- cgit v1.2.3