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:
parent
fc9d0dc977
commit
c5aab2bc16
1 changed files with 3 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue