From 4a60baa155cab4a489f8541af5ede12ba024da73 Mon Sep 17 00:00:00 2001 From: Carlos Fontes Date: Wed, 20 Dec 2023 19:23:40 +0000 Subject: [PATCH] Fix require index ns in repl --- template/bb/Dockerfile | 3 ++- template/bb/bb.edn | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/template/bb/Dockerfile b/template/bb/Dockerfile index e8c7419..b262b52 100644 --- a/template/bb/Dockerfile +++ b/template/bb/Dockerfile @@ -17,7 +17,8 @@ RUN addgroup --system app && adduser --system --ingroup app app USER app WORKDIR $HOME -COPY --chown=app:app index.clj bb.edn lib merge_config.clj ./ +COPY --chown=app:app index.clj bb.edn merge_config.clj ./ +COPY --chown=app:app lib lib COPY --chown=app:app function/bb.edn* function/bb.edn RUN bb merge-config --src "function/bb.edn" --out "ship.edn" && \ diff --git a/template/bb/bb.edn b/template/bb/bb.edn index 8f1cfc8..195793f 100644 --- a/template/bb/bb.edn +++ b/template/bb/bb.edn @@ -1,4 +1,4 @@ -{:paths ["." "function"] +{:paths ["." "lib" "function"] :tasks {run-function index/-main test test.run-tests/-main merge-config merge-config/-main}}