cmmc-platform/Makefile

20 lines
407 B
Makefile

compose = podman-compose -f dev-compose.yaml
up: ## start local stack
$(compose) up -d
down: ## stop stack
$(compose) down
logs: ## follow logs
$(compose) logs -f
build: ## build FastAPI image locally
podman build -t cmmc-fastapi:latest -f .container-images/fastapi.Dockerfile .
test: ## run pytest quietly
pytest -q
.PHONY: up down logs build test