From 75810c269b5aa2f3c70b52c32f8dcbdbd47522f7 Mon Sep 17 00:00:00 2001 From: Pagwin Date: Tue, 24 Feb 2026 02:13:22 -0500 Subject: [PATCH] redid dockerfile to bring in esbuild --- Dockerfile | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index f1b99d9..947e377 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,4 @@ -FROM haskell:9.10-slim-bookworm - -RUN mkdir -p /github/workspace +FROM haskell:9.10-slim-bookworm AS build RUN cabal update @@ -14,6 +12,18 @@ RUN cabal build WORKDIR /github/workspace +FROM debian:12 + +RUN mkdir -p /github/workspace + +RUN apt update + +RUN apt upgrade -y + +RUN apt install esbuild -y + +COPY --from=build /mnt /mnt + RUN export folder=$(ls /mnt/dist-newstyle/build/x86_64-linux) && mv /mnt/dist-newstyle/build/x86_64-linux/"$folder"/psb-0.2.0.0/x/psb/build/psb/psb /mnt/psb ENTRYPOINT ["/mnt/psb", "build"]