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/Dockerfile21
1 files changed, 21 insertions, 0 deletions
diff --git a/catalog-be/sdc-backend/Dockerfile b/catalog-be/sdc-backend/Dockerfile
new file mode 100644
index 0000000000..a7b1aa20b1
--- /dev/null
+++ b/catalog-be/sdc-backend/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/
+
+ADD onboarding-be-*.war ${JETTY_BASE}/webapps/
+
+ADD catalog-be-*.war ${JETTY_BASE}/webapps/
+
+ADD api-docs.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" ]