From c5aab2bc1640203324c12d461eec9294e640611c Mon Sep 17 00:00:00 2001 From: Graham McIntire Date: Fri, 17 Apr 2026 12:35:03 -0500 Subject: [PATCH] fix(docker): copy priv/agent-skills before mix compile MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit AgentSkillsController reads priv/agent-skills/*.md at compile time via @external_resource + File.read! to bake sha256 digests into the module. priv/ is copied after compile to keep the compile cache stable, so add a targeted COPY for the agent-skills subdir before compile — same pattern as algo.md. --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index cc476309..e64d8e63 100644 --- a/Dockerfile +++ b/Dockerfile @@ -115,6 +115,9 @@ RUN mkdir -p priv/models priv/static # copy application code and compile COPY lib lib 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 RUN mix compile # copy assets and build (JS/CSS changes don't require recompilation)