diff options
author | Cody Hiar <thornycrackers@users.noreply.github.com> | 2018-07-23 10:36:18 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-23 10:36:18 -0600 |
commit | 9eca002fe597eb412357128d4810211592e6a1f8 (patch) | |
tree | 9839a3642299b5f469c8105d9e82f62cc42f692a | |
parent | 56a26dca29e02aa2749e4fb3655c47afecb6b010 (diff) | |
parent | 0f3ffbab9d907ac3a30f189e54fd8cecbd479aaa (diff) |
Merge pull request #2 from hyshka/makefile_update
Remove enter, down, clean commands. Make up starts container and laun…
-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 --rm -v $(PWD):/opt --name $(CONTAINERNAME) $(IMAGENAME) python3 cli.py || echo 'Already up!' |