Skip to content

Commit

Permalink
fix build docker images in github action
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkAfCod committed Sep 26, 2024
1 parent 82e6126 commit 016a7c6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docker/node.dock
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ RUN ./gradlew clean buildJarForDocker
FROM ghcr.io/graalvm/graalvm-community:21

WORKDIR /usr/local/bin
COPY --from=builder /root/hildr/hildr-node/build/docker/hildr-node.jar .
COPY --from=builder /root/hildr/hildr-node/build/docker/hildr.jar .
COPY --from=builder /root/hildr/docker/start-hildr-node.sh .
ENV HILDR_JAR /usr/local/bin/hildr-node.jar
ENV HILDR_JAR /usr/local/bin/hildr.jar
ENV HILDR_MAIN_CLASS io.optimism.Hildr

ENTRYPOINT ["java", "--enable-preview", "-cp" , "/usr/local/bin/hildr-node.jar", "io.optimism.Hildr"]
ENTRYPOINT ["java", "--enable-preview", "-cp" , "/usr/local/bin/hildr.jar", "io.optimism.Hildr"]

0 comments on commit 016a7c6

Please sign in to comment.