diff --git a/hello-java/Dockerfile b/hello-java/Dockerfile index db3005d..07aa1c1 100644 --- a/hello-java/Dockerfile +++ b/hello-java/Dockerfile @@ -17,12 +17,12 @@ ADD https://github.com/RedHatTraining/DO288-apps/releases/download/OCP-4.1-1/h COPY run-app.sh /opt/app-root/bin/ -RUN chown -R wildfly:wildfly /opt/app-root && \ - chmod -R 700 /opt/app-root +RUN chown -R -0 /opt/app-root && \ + chmod -R g=u /opt/app-root EXPOSE 8080 -USER wildfly +USER 1001 # Run the fat JAR CMD /opt/app-root/bin/run-app.sh