.PHONY: setup up test build deploy help
IMAGE = miapp:latest
setup: ## Instala dependencias
npm ci
up: ## Levanta el entorno
docker compose up
test: ## Corre los tests
npm test
build: ## Construye la imagen
docker build -t $(IMAGE) .
deploy: build ## Publica, corre build primero
docker push $(IMAGE)
help: ## Muestra esta ayuda
@grep -E '^[a-z]+:.*##' Makefile | awk -F':.*##' '{printf " %-9s%s\n",$$1,$$2}'