aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-fe/sdc-frontend/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'catalog-fe/sdc-frontend/Dockerfile')
-rw-r--r--catalog-fe/sdc-frontend/Dockerfile21
1 files changed, 21 insertions, 0 deletions
diff --git a/catalog-fe/sdc-frontend/Dockerfile b/catalog-fe/sdc-frontend/Dockerfile
new file mode 100644
index 0000000000..2f9b3d1184
--- /dev/null
+++ b/catalog-fe/sdc-frontend/Dockerfile
@@ -0,0 +1,21 @@
+FROM onap/base_sdc-jetty:1.2.0-SNAPSHOT-latest
+
+COPY chef-solo /root/chef-solo/
+
+COPY chef-repo/cookbooks /root/chef-solo/cookbooks/
+
+RUN cp ${JETTY_HOME}/resources/log4j.properties ${JETTY_BASE}/resources/log4j.properties
+
+ADD onboarding*.war ${JETTY_BASE}/webapps/
+
+ADD catalog-fe-*.war ${JETTY_BASE}/webapps/
+
+USER root
+
+RUN chown -R jetty:jetty ${JETTY_BASE}/webapps
+
+COPY startup.sh /root/
+
+RUN chmod 770 /root/startup.sh
+
+ENTRYPOINT [ "/root/startup.sh" ]