From 0f3ffbab9d907ac3a30f189e54fd8cecbd479aaa Mon Sep 17 00:00:00 2001 From: Bryan Hyshka Date: Mon, 23 Jul 2018 09:53:50 -0600 Subject: Add --rm flag --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index bdef2cc..30982dc 100644 --- a/Makefile +++ b/Makefile @@ -13,4 +13,4 @@ build: ## Build the Docker image docker build -t $(IMAGENAME) ./docker up: build ## Bring the Docker container up - docker run -it -v $(PWD):/opt --name $(CONTAINERNAME) $(IMAGENAME) python3 cli.py || echo 'Already up!' + docker run -it --rm -v $(PWD):/opt --name $(CONTAINERNAME) $(IMAGENAME) python3 cli.py || echo 'Already up!' -- cgit v1.2.3