forked from shibdib/Firetail
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
29 lines (17 loc) · 661 Bytes
/
Copy pathMakefile
File metadata and controls
29 lines (17 loc) · 661 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
.PHONY: help
help: ## This help.
@awk 'BEGIN {FS = ":.*?## "} /^[a-zA-Z_-]+:.*?## / {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}' $(MAKEFILE_LIST)
.DEFAULT_GOAL := help
# DOCKER TASKS
# Build the container
build: ## Build the container
docker build -t firetail .
build-nc: ## Build the container without caching
docker build --no-cache -t firetail .
run: ## Run container
docker run -i -t --rm --name="firetail-dev" firetail
up: build run ## Run container
stop: ## Stop and remove a running container
docker stop $(APP_NAME); docker rm $(APP_NAME)
daemon: build ## Run the container as a daemon
docker run -d --rm --name="firetail" firetail