From ab3a0eb442e5eff5fe53d037ec72113be857d479 Mon Sep 17 00:00:00 2001 From: Ryan Chen Date: Thu, 2 Oct 2025 20:48:52 -0400 Subject: [PATCH] Reorganize Dockerfile to copy application code before frontend build MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Move Python application code copy before frontend build step to improve Dockerfile organization and ensure all app code is available earlier. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1025514..acd64b8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,14 +21,14 @@ COPY pyproject.toml ./ # Install Python dependencies using uv RUN uv pip install --system -e . +# Copy application code +COPY *.py ./ + # Copy frontend code and build COPY raggr-frontend ./raggr-frontend WORKDIR /app/raggr-frontend RUN yarn install && yarn build - -# Copy application code WORKDIR /app -COPY *.py ./ # Create ChromaDB directory RUN mkdir -p /app/chromadb