diff options
author | Cody Hiar <codyfh@gmail.com> | 2018-03-23 20:26:46 -0600 |
---|---|---|
committer | Cody Hiar <codyfh@gmail.com> | 2018-03-23 20:26:46 -0600 |
commit | 318c213573ccc1e85e48a60002e694716388be64 (patch) | |
tree | 7b22911569f2d61849155b9b59b9219fccc07f09 /Makefile | |
parent | aa6e200bc7844aa2b7b88a451a9e95be4f2cebb0 (diff) |
Move docker from build dir to docker
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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!' |