.PHONY: build dev logs stop test-health clean # Build the Docker image locally build: docker compose -f docker-compose.dev.yml build # Start the development server dev: docker compose -f docker-compose.dev.yml up -d @echo "Server starting at http://localhost:8001" @echo "Use 'make logs' to view output" # View container logs logs: docker compose -f docker-compose.dev.yml logs -f # Stop the development server stop: docker compose -f docker-compose.dev.yml down # Test health endpoint test-health: @echo "Testing health endpoint..." @curl -s http://localhost:8001/health | jq . # Test MCP endpoint (should return 406 for GET) test-mcp: @echo "Testing MCP endpoint..." @curl -s -o /dev/null -w "%{http_code}" http://localhost:8001/mcp # Full rebuild (no cache) rebuild: docker compose -f docker-compose.dev.yml build --no-cache # Clean up containers and images clean: docker compose -f docker-compose.dev.yml down --rmi local -v