fix: binary

This commit is contained in:
orion 2023-11-27 22:23:50 -06:00
parent d979f42302
commit bad31f543d
Signed by: orion
GPG Key ID: 6D4165AE4C928719

View File

@ -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"]