From 3591ef2c84e89250342ee3a589cbd9e45fa46973 Mon Sep 17 00:00:00 2001 From: river Date: Sun, 15 Mar 2026 12:57:40 +0000 Subject: [PATCH] fix: add --no-cache to ensure frontend rebuilds with correct API base --- run-test-frontend.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/run-test-frontend.sh b/run-test-frontend.sh index 7a05dcf..56229a6 100755 --- a/run-test-frontend.sh +++ b/run-test-frontend.sh @@ -58,9 +58,9 @@ echo "๐Ÿ“ฆ Using compose file: $COMPOSE_FILE" echo "๐Ÿงน Cleaning up previous containers..." docker compose -f "$COMPOSE_FILE" down -v 2>/dev/null || true -# Build frontend with correct API base URL +# Build frontend with correct API base URL (force no cache) echo "๐Ÿ”จ Building frontend..." -docker compose -f "$COMPOSE_FILE" build --build-arg VITE_API_BASE=http://backend:8000 frontend +docker compose -f "$COMPOSE_FILE" build --no-cache --build-arg VITE_API_BASE=http://backend:8000 frontend # Start services echo "๐Ÿ“ฆ Starting services..."