From 6be066154873fa7dfa974d7404661d2b3c3bc122 Mon Sep 17 00:00:00 2001 From: Huang Xiao Date: Tue, 3 Dec 2024 15:47:56 +0800 Subject: [PATCH] fix: expose port in Dockerfile (#312) --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 643152a6..cc7df8f1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,4 +11,5 @@ ARG DEPENDENCY=/workspace/server/build/dependency COPY --from=build ${DEPENDENCY}/BOOT-INF/lib /jifa/lib COPY --from=build ${DEPENDENCY}/META-INF /jifa/META-INF COPY --from=build ${DEPENDENCY}/BOOT-INF/classes /jifa -ENTRYPOINT ["java","--add-opens=java.base/java.lang=ALL-UNNAMED","--add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED","-Djdk.util.zip.disableZip64ExtraFieldValidation=true","-cp","jifa:jifa/lib/*","org.eclipse.jifa.server.Launcher"] \ No newline at end of file +EXPOSE 8102 +ENTRYPOINT ["java","--add-opens=java.base/java.lang=ALL-UNNAMED","--add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED","-Djdk.util.zip.disableZip64ExtraFieldValidation=true","-cp","jifa:jifa/lib/*","org.eclipse.jifa.server.Launcher"]