From 1ee1331ccf86994571eca5255081644f0d946835 Mon Sep 17 00:00:00 2001 From: pip-install-python Date: Sat, 1 Aug 2026 18:07:33 -0500 Subject: [PATCH] Dockerfile: COPY the site's lib/ and assets/ into the image MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The site-standard pass added lib/constants.py (and index_string links to /assets/favicon/*), but the image only copied app.py/pages/docs — gunicorn died on `from lib.constants import ...` at boot and Render kept serving the previous build. CI never caught it because this repo has no container-boot job (the package matrix and site suite both run from the working tree). Verified locally: docker build + boot → /healthz ok:true, llms.txt H1 is the brand, browser-UA HTML carries exactly one non-empty og:image pointing at the CDN card. Co-Authored-By: Claude Fable 5 --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 06d06fe..bd81517 100644 --- a/Dockerfile +++ b/Dockerfile @@ -23,8 +23,10 @@ COPY dist/dash_improve_my_llms-*.tar.gz ./dist/ RUN pip install --no-cache-dir --no-deps ./dist/dash_improve_my_llms-*.tar.gz COPY app.py ./ +COPY lib ./lib COPY pages ./pages COPY docs ./docs +COPY assets ./assets # Render injects PORT; 8959 matches the local default in app.py. ENV PORT=8959