aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-fe/sdc-frontend/Dockerfile
blob: 66aea7b2cf20c15f7876a377498947f8159683e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
FROM onap/base_sdc-jetty:1.6.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