summaryrefslogtreecommitdiffstats
path: root/openecomp-be/dist/sdc-onboard-backend-docker/artifacts/Dockerfile
blob: 78a8f64a939db30674cc1176a020de501702645c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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 onboarding-be-*.war    ${JETTY_BASE}/webapps/

ADD --chown=jetty:jetty api-docs.war           ${JETTY_BASE}/webapps/

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

RUN chmod 770 ${JETTY_BASE}/startup.sh

ENTRYPOINT ${JETTY_BASE}/startup.sh