aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-be/sdc-backend/Dockerfile
blob: 104bbd927470912aa8752ff076c18c32bfba91dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
FROM onap/base_sdc-jetty:1.6.0

COPY chef-solo /root/chef-solo/

COPY chef-repo/cookbooks/. /root/chef-solo/cookbooks/

ADD --chown=jetty:jetty catalog-be-*.war       ${JETTY_BASE}/webappwar/
ADD --chown=jetty:jetty context.xml       ${JETTY_BASE}/webapps/

USER root

COPY startup.sh /root/

RUN chmod 770 /root/startup.sh

ENTRYPOINT [ "/root/startup.sh" ]