File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,9 @@ COPY . .
5050# Build simulation
5151WORKDIR /build/simulation
5252RUN cabal update && \
53- cabal build all
53+ cabal build all && \
54+ # Find the actual binary path and copy it to a known location
55+ find /build/dist-newstyle -type f -name "ols" -exec cp {} /build/ols \;
5456
5557# Create Rust simulation image
5658FROM base AS rs
@@ -86,7 +88,7 @@ FROM base AS hs
8688WORKDIR /output
8789
8890# Copy the ols binary and necessary files
89- COPY --from=hs-builder /build/dist-newstyle/build/aarch64-linux/ghc-9.8.2/ouroboros-leios-sim-0.1.0.0/x/ols/build/ols/ ols /usr/local/bin/
91+ COPY --from=hs-builder /build/ols /usr/local/bin/
9092
9193# Create entrypoint script for Haskell simulation
9294RUN echo '#!/bin/sh\n \
You can’t perform that action at this time.
0 commit comments