IMAGE ?= starter-app:local

test:        ## run unit tests
	cd app && pytest -q
run:         ## run locally with Docker Compose
	docker compose up --build
build:       ## build the Docker image
	docker build -t $(IMAGE) .
k8s-apply:   ## deploy to the current kubectl context
	kubectl apply -f k8s/namespace.yaml && kubectl apply -f k8s/
tf-plan:     ## preview infrastructure changes
	cd terraform && terraform init && terraform plan
