aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorCody Hiar <thornycrackers@users.noreply.github.com>2018-07-23 10:36:18 -0600
committerGitHub <noreply@github.com>2018-07-23 10:36:18 -0600
commit9eca002fe597eb412357128d4810211592e6a1f8 (patch)
tree9839a3642299b5f469c8105d9e82f62cc42f692a /Makefile
parent56a26dca29e02aa2749e4fb3655c47afecb6b010 (diff)
parent0f3ffbab9d907ac3a30f189e54fd8cecbd479aaa (diff)
Merge pull request #2 from hyshka/makefile_update
Remove enter, down, clean commands. Make up starts container and laun…
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 1 insertions, 10 deletions
diff --git a/Makefile b/Makefile
index fabe763..30982dc 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 --rm -v $(PWD):/opt --name $(CONTAINERNAME) $(IMAGENAME) python3 cli.py || echo 'Already up!'