From 48e61bb7aefdbe6ee8c56304bf488048a04c4c44 Mon Sep 17 00:00:00 2001 From: Bryan Hyshka Date: Mon, 23 Jul 2018 09:48:07 -0600 Subject: Remove enter, down, clean commands. Make up starts container and launches cli.py. --- Makefile | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'Makefile') 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!' -- cgit v1.2.3