aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBryan Hyshka <bryan@hyshka.com>2018-07-23 09:48:07 -0600
committerBryan Hyshka <bryan@hyshka.com>2018-07-23 09:48:07 -0600
commit48e61bb7aefdbe6ee8c56304bf488048a04c4c44 (patch)
tree1bba4fb937f1503fe8c0a63e0d0c7a0211d0c99b /Makefile
parent56a26dca29e02aa2749e4fb3655c47afecb6b010 (diff)
Remove enter, down, clean commands. Make up starts container and launches cli.py.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 1 insertions, 10 deletions
diff --git a/Makefile b/Makefile
index fabe763..bdef2cc 100644
--- a/Makefile
+++ b/Makefile
@@ -13,13 +13,4 @@ build: ## Build the Docker image
docker build -t $(IMAGENAME) ./docker
up: build ## Bring the Docker container up
- docker run -td -v $(PWD):/opt --name $(CONTAINERNAME) $(IMAGENAME) || echo 'Already up!'
-
-down: ## Stop the Docker container
- docker stop $(CONTAINERNAME)
-
-enter: ## Enter the running Docker container
- docker exec -it $(CONTAINERNAME) /bin/bash
-
-clean: down ## Stop and remove Docker container
- docker rm $(CONTAINERNAME)
+ docker run -it -v $(PWD):/opt --name $(CONTAINERNAME) $(IMAGENAME) python3 cli.py || echo 'Already up!'