Added lib to service
This commit is contained in:
27
bot/Makefile
Normal file
27
bot/Makefile
Normal file
@@ -0,0 +1,27 @@
|
||||
#!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
|
||||
Reference in New Issue
Block a user