From bad31f543dc6bc5bc06abf4f84fc6cc4b186c927 Mon Sep 17 00:00:00 2001 From: Orion Kindel Date: Mon, 27 Nov 2023 22:23:50 -0600 Subject: [PATCH] fix: binary --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 51f6e43..dca8d0c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -28,6 +28,7 @@ WORKDIR pursuit COPY stack.yaml . RUN --mount=type=cache,target=/root/.stack \ --mount=type=cache,target=/pursuit/.stack-work \ - stack --no-terminal build --flag pursuit:-dev + stack --no-terminal build --flag pursuit:-dev \ + && cp .stack-work/dist/x86_64-linux-tinfo6/Cabal-3.6.3.0/build/pursuit/pursuit /usr/bin -CMD ["/bin/bash", "-lc", "stack exec pursuit"] +CMD ["/bin/bash", "-lc", "pursuit"]