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.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user