From 05af86f5d2e3c3eaf87c2a9bc72cb93b8ec6f57d Mon Sep 17 00:00:00 2001 From: Woody Date: Mon, 27 Apr 2026 19:15:16 +0800 Subject: [PATCH] fix(docker): set relative API base URL and pin numpy for ChromaDB compat --- Dockerfile | 1 + backend/requirements.txt | 1 + 2 files changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 973a5ca..f3a761c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,6 +7,7 @@ COPY frontend/package.json frontend/package-lock.json ./ RUN npm ci COPY frontend/ ./ +ENV VITE_API_BASE_URL=/api/v1 RUN npm run build # Stage 2: Production runtime diff --git a/backend/requirements.txt b/backend/requirements.txt index 7a5e7b5..5a8f76c 100644 --- a/backend/requirements.txt +++ b/backend/requirements.txt @@ -3,6 +3,7 @@ uvicorn[standard]==0.27.0 pydantic==2.5.3 pydantic-settings==2.1.0 chromadb==0.4.22 +numpy<2.0 python-docx==1.1.0 pypdf==4.0.2 python-dotenv==1.0.0