aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan Hyshka <hyshka@users.noreply.github.com>2018-07-23 09:53:50 -0600
committerGitHub <noreply@github.com>2018-07-23 09:53:50 -0600
commit0f3ffbab9d907ac3a30f189e54fd8cecbd479aaa (patch)
tree9839a3642299b5f469c8105d9e82f62cc42f692a
parent48e61bb7aefdbe6ee8c56304bf488048a04c4c44 (diff)
Add --rm flag
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
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!'