From 5792cd857aa29f582ab026d835087725dc931a1c Mon Sep 17 00:00:00 2001 From: syed salman <72004356+syedsalman3753@users.noreply.github.com> Date: Tue, 28 May 2024 17:03:40 +0530 Subject: [PATCH] [MOSIP-32461] Fix dockerfile issues Signed-off-by: syed salman <72004356+syedsalman3753@users.noreply.github.com> --- .../registration-processor-stage-group-5/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/registration-processor/stage-groups/registration-processor-stage-group-5/Dockerfile b/registration-processor/stage-groups/registration-processor-stage-group-5/Dockerfile index b3a7deac695..d8e575613e4 100644 --- a/registration-processor/stage-groups/registration-processor-stage-group-5/Dockerfile +++ b/registration-processor/stage-groups/registration-processor-stage-group-5/Dockerfile @@ -71,6 +71,9 @@ ARG loader_path=${work_dir}/additional_jars/ ENV loader_path_env=${loader_path} +# set working directory for the user +WORKDIR ${work_dir} + ADD ./target/${group_name}-*.jar ${group_name}.jar ADD configure_start.sh configure_start.sh @@ -89,9 +92,6 @@ RUN apt-get -y update \ # change volume to whichever storage directory you want to use for this container. # /home/logs -# set working directory for the user -WORKDIR ${work_dir} - # select container user for all tasks USER ${container_user_uid}:${container_user_gid}