From 5340d2326fc5473c696bdb012eddd28170c46bff Mon Sep 17 00:00:00 2001 From: Rakshith B <79500257+Rakshithb1@users.noreply.github.com> Date: Tue, 13 Aug 2024 16:40:11 +0530 Subject: [PATCH] [DSD-3532] Updated Dockerfile Signed-off-by: Rakshith B <79500257+Rakshithb1@users.noreply.github.com> --- biosdk-services/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/biosdk-services/Dockerfile b/biosdk-services/Dockerfile index 60e55a4..b404c7e 100644 --- a/biosdk-services/Dockerfile +++ b/biosdk-services/Dockerfile @@ -46,9 +46,9 @@ ENV biosdk_local_dir_name=${biosdk_local_dir} ARG sdk_impl -ARG service_context=/biosdk-service +ARG server_servlet_context_path=/biosdk-service -ENV service_context_env=${service_context} +ENV server_servlet_context_path_env=${server_servlet_context_path} #ENV biosdk_zip_url=$biosdk_zip_url ENV biosdk_bioapi_impl=${sdk_impl} @@ -103,4 +103,4 @@ EXPOSE 9099 ENTRYPOINT ["./configure_biosdk.sh"] CMD echo $biosdk_bioapi_impl ; \ -java -Dloader.path="${loader_path_env}" -Dserver.servlet.context-path="${service_context_env}" -Dspring.cloud.config.label="${spring_config_label_env}" -Dspring.profiles.active="${active_profile_env}" -Dspring.cloud.config.uri="${spring_config_url_env}" -Dspring.application.name="${spring_application_name_env}" -Dspring.cloud.config.name="${spring_cloud_config_name_env}" --add-modules=ALL-SYSTEM --add-opens java.xml/jdk.xml.internal=ALL-UNNAMED --add-opens java.base/java.lang.reflect=ALL-UNNAMED --add-opens java.base/java.lang.stream=ALL-UNNAMED --add-opens java.base/java.time=ALL-UNNAMED --add-opens java.base/java.time.LocalDate=ALL-UNNAMED --add-opens java.base/java.time.LocalDateTime=ALL-UNNAMED --add-opens java.base/java.time.LocalDateTime.date=ALL-UNNAMED --add-opens java.base/jdk.internal.reflect.DirectMethodHandleAccessor=ALL-UNNAMED -jar biosdk-services.jar +java -Dloader.path="${loader_path_env}" -Dserver.servlet.context-path="${server_servlet_context_path_env}" -Dspring.cloud.config.label="${spring_config_label_env}" -Dspring.profiles.active="${active_profile_env}" -Dspring.cloud.config.uri="${spring_config_url_env}" -Dspring.application.name="${spring_application_name_env}" -Dspring.cloud.config.name="${spring_cloud_config_name_env}" --add-modules=ALL-SYSTEM --add-opens java.xml/jdk.xml.internal=ALL-UNNAMED --add-opens java.base/java.lang.reflect=ALL-UNNAMED --add-opens java.base/java.lang.stream=ALL-UNNAMED --add-opens java.base/java.time=ALL-UNNAMED --add-opens java.base/java.time.LocalDate=ALL-UNNAMED --add-opens java.base/java.time.LocalDateTime=ALL-UNNAMED --add-opens java.base/java.time.LocalDateTime.date=ALL-UNNAMED --add-opens java.base/jdk.internal.reflect.DirectMethodHandleAccessor=ALL-UNNAMED -jar biosdk-services.jar