fix docker entry point

This commit is contained in:
Jonathan Shook 2024-09-23 13:13:01 -05:00
parent c344ba4d44
commit b24c034e9d

View File

@ -1,7 +1,7 @@
FROM eclipse-temurin:21-jdk
COPY nb5/target/nb5.jar nb5.jar
ENTRYPOINT ["java","--enable-preview", "-jar", "nb5.jar"]
ENTRYPOINT ["java","--enable-preview", "-XX:+UseZGC", "-XX:+ZGenerational", "-jar", "nb5.jar"]
RUN ln -s /bin/bash /bin/ash
RUN ln -s nb5.jar nb.jar