Avi Ziv | c175a0d | 2018-03-15 13:21:44 +0200 | [diff] [blame] | 1 | FROM onap/base_sdc-jetty:1.3.0-SNAPSHOT-latest |
2 | |||||
3 | COPY chef-solo /root/chef-solo/ | ||||
4 | |||||
5 | COPY chef-repo/cookbooks /root/chef-solo/cookbooks/ | ||||
6 | |||||
7 | ADD onboarding-be-*.war ${JETTY_BASE}/webapps/ | ||||
8 | |||||
9 | ADD api-docs.war ${JETTY_BASE}/webapps/ | ||||
10 | |||||
11 | USER root | ||||
12 | |||||
13 | RUN chown -R jetty:jetty ${JETTY_BASE}/webapps | ||||
14 | |||||
15 | COPY startup.sh /root/ | ||||
16 | |||||
17 | RUN chmod 770 /root/startup.sh | ||||
18 | |||||
19 | ENTRYPOINT [ "/root/startup.sh" ] |