aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-be/sdc-backend/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'catalog-be/sdc-backend/Dockerfile')
-rw-r--r--catalog-be/sdc-backend/Dockerfile4
1 files changed, 1 insertions, 3 deletions
diff --git a/catalog-be/sdc-backend/Dockerfile b/catalog-be/sdc-backend/Dockerfile
index 7fd978947f..fc0c9cffa2 100644
--- a/catalog-be/sdc-backend/Dockerfile
+++ b/catalog-be/sdc-backend/Dockerfile
@@ -4,12 +4,10 @@ COPY chef-solo /root/chef-solo/
COPY chef-repo/cookbooks/. /root/chef-solo/cookbooks/
-ADD catalog-be-*.war ${JETTY_BASE}/webapps/
+ADD --chown=jetty:jetty catalog-be-*.war ${JETTY_BASE}/webapps/
USER root
-RUN chown -R jetty:jetty ${JETTY_BASE}/webapps
-
COPY startup.sh /root/
RUN chmod 770 /root/startup.sh