Files
siren/bot/Makefile
Benjamin Sherriff ecc65222b6 Added lib to service
2023-10-04 19:58:54 -04:00

28 lines
517 B
Makefile

#!make
SHELL := /bin/bash
include .env
.PHONY: help build test up down exec clean
help: ## Help command
@echo
@cat Makefile | grep -E '^[a-zA-Z\/_-]+:.*?## .*$$' | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
@echo
build: ## Build the docker image
docker compose build
db: ## Start the docker database
docker compose up -d db
up: ## Start the app
docker compose up -d
down: ## Stop the app
docker compose down
clean:
docker compose down && \
docker image rm siren-bot