summaryrefslogtreecommitdiffstats
path: root/sdc-os-chef/sdc-backend/Dockerfile
blob: 7c6d8bf7232013eea8effdb7d61e054d306d2666 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
FROM openecomp/base_sdc-backend:1.0.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

USER jetty

ENTRYPOINT [ "/root/startup.sh" ]