diff --git a/Makefile b/Makefile index c39111f..b9f50c6 100644 --- a/Makefile +++ b/Makefile @@ -3,6 +3,8 @@ ENV ?= dev COMPOSE_FILE = docker-compose$(if $(filter $(ENV),prod),.prod,).yml COMPOSE = docker compose -f $(COMPOSE_FILE) +# Service name of the dev container +SERVICE_NAME = app .PHONY: up stop build deploy logs @@ -30,4 +32,7 @@ logs: $(COMPOSE) logs -f clean: - docker image prune -f \ No newline at end of file + docker image prune -f + +ui: + $(COMPOSE) exec $(SERVICE_NAME) npx shadcn@latest add $(component) \ No newline at end of file