fix(docker): COPY docs/api so api_docs_controller compiles

ApiDocsController + ApiDocsLive read docs/api/{README.md,openapi.yaml}
at compile time and bake the contents into module attributes. The
build context excluded those files because nothing in the Dockerfile
copied the docs directory, so `mix compile` failed during the image
build.
This commit is contained in:
Graham McIntire 2026-05-09 09:19:49 -05:00
parent c56b55d5af
commit 8f32de9086
No known key found for this signature in database
GPG key ID: F4ABF488E6029E59

View file

@ -66,6 +66,9 @@ COPY algo.md algo.md
# agent-skills markdown is read at compile time by AgentSkillsController
# (sha256 digests are baked into the module attribute)
COPY priv/agent-skills priv/agent-skills
# /docs/api artifacts are read at compile time by ApiDocsController
# and ApiDocsLive (baked into module attributes).
COPY docs/api docs/api
RUN mix compile
# copy assets and build (JS/CSS changes don't require recompilation)