Harden Tailwind Docker build and add deploy verification

This commit is contained in:
Luca Sacchi Ricciardi
2026-04-25 15:08:57 +02:00
parent 32302e2b06
commit 229115ae87
9 changed files with 1311 additions and 14 deletions
+13 -1
View File
@@ -1,4 +1,4 @@
.PHONY: help install dev prod test lint format clean docker-build docker-up docker-down
.PHONY: help install dev prod test lint format clean docker-build docker-up docker-down docker-build-no-cache verify-css deploy-no-cache
help:
@echo "LLM Monitor - Makefile Commands"
@@ -11,8 +11,11 @@ help:
@echo "make format - Formatta il codice"
@echo "make clean - Pulisce cache e file temporanei"
@echo "make docker-build - Build dell'immagine Docker"
@echo "make docker-build-no-cache - Build Docker senza cache (fix Tailwind)"
@echo "make docker-up - Avvia i container con Docker Compose"
@echo "make docker-down - Ferma i container con Docker Compose"
@echo "make verify-css - Verifica output.css compilato nel container"
@echo "make deploy-no-cache - Deploy completo con build no-cache + verifica CSS"
install:
python3 -m venv venv
@@ -41,12 +44,21 @@ clean:
docker-build:
docker build -t llm-monitor:latest .
docker-build-no-cache:
docker compose build --no-cache
docker-up:
docker compose up -d
docker-down:
docker compose down
verify-css:
./scripts/verify-tailwind-css.sh
deploy-no-cache:
./scripts/deploy-no-cache.sh
docker-logs:
docker compose logs -f llm-monitor