Update Makefile with dev-full target and frontend scaling option

- Added new `dev-full` target to start all development services, including the frontend.
- Modified `dev` target to exclude the frontend and provide instructions for running it locally.
- Updated `.PHONY` to include the new `dev-full` target.
This commit is contained in:
2025-11-16 20:02:15 +01:00
parent c9f4772196
commit 3001484948

View File

@@ -1,10 +1,19 @@
.PHONY: dev prod down clean clean-slate
.PHONY: dev dev-full prod down clean clean-slate
VERSION ?= latest
REGISTRY := gitea.pragmazest.com/cardosofelipe/app
dev:
# Bring up all dev services except the frontend
docker compose -f docker-compose.dev.yml up --build -d --scale frontend=0
@echo ""
@echo "Frontend is not started by 'make dev'."
@echo "To run the frontend locally, open a new terminal and run:"
@echo " cd frontend && npm run dev"
dev-full:
# Bring up all dev services including the frontend (full stack)
docker compose -f docker-compose.dev.yml up --build -d
prod: