aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-fe/sdc-frontend/Dockerfile
blob: 9d4029c32ad87efee145c8447246c00ef1fedfb4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
FROM onap/base_sdc-jetty:1.7.0

RUN mkdir -p ${JETTY_BASE}/config/catalog-fe

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 onboarding*.war         ${JETTY_BASE}/webapps/

ADD --chown=jetty:jetty catalog-fe-*.war        ${JETTY_BASE}/webapps/

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

RUN chmod 770 ${JETTY_BASE}/startup.sh

ENTRYPOINT ${JETTY_BASE}/startup.sh