From 5367edb8b37a6dac76ac7cd608ac3c005b7b225e Mon Sep 17 00:00:00 2001 From: Cody Hiar Date: Sun, 10 Oct 2021 11:13:47 -0600 Subject: Work in progress --- Makefile | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..ea21190 --- /dev/null +++ b/Makefile @@ -0,0 +1,19 @@ +.PHONY: build + +help: + @grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}' + +build: ## Build the Docker image + docker-compose -p docker_storm build + +up: build ## Bring the container up + docker-compose -p docker_storm up -d + +down: ## Stop the container + docker-compose -p docker_storm stop + +enter: ## Enter the running container + docker-compose -p docker_storm exec backend /bin/bash + +clean: down ## Remove stoped containers + docker-compose -p docker_storm rm -f -- cgit v1.2.3