summaryrefslogtreecommitdiffstats
path: root/catalog-be/sdc-backend/Dockerfile
blob: 2a60ce77ad4dad01ea45ef0bf53f500c758a5805 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
FROM onap/base_sdc-jetty:1.7.0
 
COPY --chown=jetty:jetty chef-solo ${JETTY_BASE}/chef-solo/
COPY --chown=jetty:jetty chef-repo/cookbooks/. ${JETTY_BASE}/chef-solo/cookbooks/

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

COPY --chown=jetty:jetty startup.sh ${JETTY_BASE}/ 

RUN chmod 770 ${JETTY_BASE}/startup.sh

ENTRYPOINT ${JETTY_BASE}/startup.sh