diff options
Diffstat (limited to 'workflow-designer-ui/docker/Dockerfile')
-rw-r--r-- | workflow-designer-ui/docker/Dockerfile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/workflow-designer-ui/docker/Dockerfile b/workflow-designer-ui/docker/Dockerfile index 58130888..7a54b615 100644 --- a/workflow-designer-ui/docker/Dockerfile +++ b/workflow-designer-ui/docker/Dockerfile @@ -9,10 +9,11 @@ ARG ARTIFACT COPY org.onap.sdc.p12 org.onap.sdc.trust.jks ${JETTY_BASE}/etc/ -ADD ${ARTIFACT} ${JETTY_BASE}/webapps/ +ADD --chown=jetty:jetty ${ARTIFACT} ${JETTY_BASE}/webapps/ RUN chown -R jetty:jetty ${JETTY_BASE}/webapps ${JETTY_BASE}/etc/ -COPY startup.sh . +COPY --chown=jetty:jetty startup.sh . RUN chmod 744 startup.sh +USER jetty ENTRYPOINT [ "./startup.sh" ] |