From 8f32de9086b312d24f94b42a10b9ba770513b996 Mon Sep 17 00:00:00 2001 From: Graham McIntire Date: Sat, 9 May 2026 09:19:49 -0500 Subject: [PATCH] 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. --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index d873c19d..b5401e84 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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)