From 6fbec7ea9b7ab27aa4237bc74918e680e4e63bf8 Mon Sep 17 00:00:00 2001 From: Graham McIntire Date: Wed, 1 Apr 2026 10:38:35 -0500 Subject: [PATCH] Fix Dockerfile: copy algo.md before mix compile (read at compile time) --- Dockerfile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 66648331..eb6a9dcd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -77,6 +77,7 @@ RUN mkdir -p priv/models priv/static # copy application code and compile COPY lib lib +COPY algo.md algo.md RUN mix compile # copy assets and build (JS/CSS changes don't require recompilation) @@ -87,9 +88,6 @@ RUN mix assets.deploy # after compile so model retraining doesn't bust the compile cache COPY priv priv -# algo.md is runtime documentation, not compiled -COPY algo.md algo.md - # runtime config doesn't require recompilation COPY config/runtime.exs config/