fixed dockerfile

This commit is contained in:
Pagwin 2024-12-30 23:59:56 -05:00
parent 3a01def29d
commit 301a676d9b
No known key found for this signature in database
GPG key ID: 81137023740CA260
2 changed files with 4 additions and 1 deletions

View file

@ -1,2 +1,3 @@
dist-newstyle
.shake
Dockerfile

View file

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