From 301a676d9bca607127471d8851708abe57f5f4ff Mon Sep 17 00:00:00 2001 From: Pagwin Date: Mon, 30 Dec 2024 23:59:56 -0500 Subject: [PATCH] fixed dockerfile --- .dockerignore | 1 + Dockerfile | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.dockerignore b/.dockerignore index 9cf1186..2f8c24f 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,2 +1,3 @@ dist-newstyle .shake +Dockerfile diff --git a/Dockerfile b/Dockerfile index 57b171a..6a027b8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,4 +14,6 @@ RUN cabal build WORKDIR /github/workspace -ENTRYPOINT ["/mnt/dist-newstyle/build/x86_64-linux/ghc-9.4.8/psb-0.1.0.0/x/psb/build/psb/psb", "build", "-p2"] +RUN export folder=$(ls /mnt/dist-newstyle/build/x86_64-linux) && mv /mnt/dist-newstyle/build/x86_64-linux/"$folder"/psb-0.1.0.0/x/psb/build/psb/psb /mnt/psb + +ENTRYPOINT ["/mnt/psb", "build"]