aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorCody Hiar <codyfh@gmail.com>2018-03-23 20:26:46 -0600
committerCody Hiar <codyfh@gmail.com>2018-03-23 20:26:46 -0600
commit318c213573ccc1e85e48a60002e694716388be64 (patch)
tree7b22911569f2d61849155b9b59b9219fccc07f09 /Makefile
parentaa6e200bc7844aa2b7b88a451a9e95be4f2cebb0 (diff)
Move docker from build dir to docker
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
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!'