From 95e1637f80fb453e8991d8bcc07c24f0962b8298 Mon Sep 17 00:00:00 2001 From: Will Anderson Date: Sat, 2 May 2026 01:15:43 -0500 Subject: [PATCH] build: drop build-local.sh, copy llms.txt + HTML shells into image build-local.sh is no longer needed - bootstrap.py resolves imports natively now. Dockerfile.stage already runs bootstrap.py on dist/main-combined.el; the next image rev will switch to running it directly on src/main.el. Also: COPY src/llms.txt + the four prerendered HTML shells (about / terms / enterprise-terms / index) into /srv/landing. The El handler does fs_read(src_dir + "/llms.txt") which returned empty because the file didn't exist in the container. --- Dockerfile.stage | 4 ++ build-local.sh | 117 ----------------------------------------------- 2 files changed, 4 insertions(+), 117 deletions(-) delete mode 100755 build-local.sh diff --git a/Dockerfile.stage b/Dockerfile.stage index 29abfba..6269b07 100644 --- a/Dockerfile.stage +++ b/Dockerfile.stage @@ -76,6 +76,10 @@ COPY --from=builder /build/soul-demo /usr/local/bin/soul-demo COPY dist/engram-snapshot.json /srv/soul/engram-demo/snapshot.json COPY src/assets /srv/landing/assets +COPY src/llms.txt /srv/landing/llms.txt +# Pre-rendered HTML shells (about, terms, enterprise-terms, index) used as +# fallback when the El page-builder hasn't been seeded yet at startup. +COPY src/about.html src/terms.html src/enterprise-terms.html src/index.html /srv/landing/ COPY dist/entrypoint.sh /usr/local/bin/entrypoint.sh RUN chmod +x /usr/local/bin/entrypoint.sh diff --git a/build-local.sh b/build-local.sh deleted file mode 100755 index a7fd92a..0000000 --- a/build-local.sh +++ /dev/null @@ -1,117 +0,0 @@ -#!/usr/bin/env bash -# build-local.sh — Build and run neuron-web + soul-demo for local development. -# -# Mirrors the container's entrypoint.sh: both processes start together, -# soul-demo in background, neuron-web in foreground. Kill neuron-web (Ctrl-C) -# and the soul dies with it. No separate process manager. No port conflicts. -# -# Usage: -# ./build-local.sh — build only (fast, leaves inline JS as-is) -# ./build-local.sh --run — build and start both servers -# EXTRACT_JS=1 ./build-local.sh — also extract inline