Add spec/, lib/, web/ to sx_docs Docker image
Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Failing after 16s

The Dockerfile was missing COPY lines for the SX source files loaded
by the OCaml kernel at runtime (parser, render, compiler, adapters,
signals, freeze). This caused CI test failures and production deploy
to run without the spec/lib split or web adapters.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-25 00:31:56 +00:00
parent 0fce6934cb
commit 1b5d3e8eb1

View File

@@ -60,6 +60,11 @@ COPY likes/models/ ./likes/models/
COPY orders/__init__.py ./orders/__init__.py COPY orders/__init__.py ./orders/__init__.py
COPY orders/models/ ./orders/models/ COPY orders/models/ ./orders/models/
# SX spec + library + web adapter files (loaded by OCaml kernel at runtime)
COPY spec/ ./spec/
COPY lib/ ./lib/
COPY web/ ./web/
# OCaml SX kernel binary # OCaml SX kernel binary
COPY --from=ocaml-build /home/opam/sx/_build/default/bin/sx_server.exe /app/bin/sx_server COPY --from=ocaml-build /home/opam/sx/_build/default/bin/sx_server.exe /app/bin/sx_server