diff options
author | Bryan Hyshka <bryan@hyshka.com> | 2018-07-23 09:48:07 -0600 |
---|---|---|
committer | Bryan Hyshka <bryan@hyshka.com> | 2018-07-23 09:48:07 -0600 |
commit | 48e61bb7aefdbe6ee8c56304bf488048a04c4c44 (patch) | |
tree | 1bba4fb937f1503fe8c0a63e0d0c7a0211d0c99b /Makefile | |
parent | 56a26dca29e02aa2749e4fb3655c47afecb6b010 (diff) |
Remove enter, down, clean commands. Make up starts container and launches cli.py.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 1 insertions, 10 deletions
@@ -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!' |