Skip to content

Commit

Permalink
MOSIP-32064
Browse files Browse the repository at this point in the history
Signed-off-by: JanardhanBS-SyncByte <[email protected]>
  • Loading branch information
JanardhanBS-SyncByte committed May 14, 2024
1 parent 1a752aa commit 4618fb0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions biosdk-services/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,11 @@ RUN mkdir -p ${loader_path}

ENV loader_path_env=${loader_path}

ADD configure_start.sh /home/${container_user}/configure_start.sh
ADD configure_biosdk.sh /home/${container_user}/configure_biosdk.sh

RUN chmod +x /home/${container_user}/configure_start.sh
RUN chmod +x /home/${container_user}/configure_biosdk.sh

RUN chmod a-w /home/${container_user}/configure_start.sh
RUN chmod a-w /home/${container_user}/configure_biosdk.sh

ARG logging_level_root=INFO

Expand All @@ -94,7 +94,7 @@ USER ${container_user_uid}:${container_user_gid}

EXPOSE 9099

ENTRYPOINT ["/home/${container_user}/configure_start.sh"]
ENTRYPOINT ["/home/${container_user}/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}" --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 -jar biosdk-services.jar

0 comments on commit 4618fb0

Please sign in to comment.