fix(docker): copy priv/agent-skills before mix compile

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.
This commit is contained in:
Graham McIntire 2026-04-17 12:35:03 -05:00
parent fc9d0dc977
commit c5aab2bc16
No known key found for this signature in database
GPG key ID: F4ABF488E6029E59

View file

@ -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)