From 5710df19d90f01874a26ccd904c95897d49bcd46 Mon Sep 17 00:00:00 2001 From: "d.viti" Date: Thu, 9 Oct 2025 17:40:01 +0200 Subject: [PATCH] Fix web Dockerfile to copy templates directory MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixed TemplateNotFound error by adding missing templates directory to the Docker image. Error: jinja2.exceptions.TemplateNotFound: index.html Cause: Dockerfile was not copying the templates/ directory into the container Fix: Added 'COPY templates/ ./templates/' to Dockerfile The web application requires templates/ directory for Jinja2 templates: - templates/base.html - templates/index.html - templates/items.html - templates/users.html - templates/llm.html 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- web/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web/Dockerfile b/web/Dockerfile index 9849985..6be6acd 100644 --- a/web/Dockerfile +++ b/web/Dockerfile @@ -10,8 +10,9 @@ RUN pip install --no-cache-dir -r requirements.txt # Copy application and documentation COPY main.py . -COPY docs/ ./docs/ +COPY templates/ ./templates/ COPY static/ ./static/ +COPY docs/ ./docs/ COPY mkdocs.yml . # Build documentation during image build