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}}