aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-be/dist/sdc-onboard-backend-docker/artifacts/Dockerfile
blob: acc84ab3933d8c664601038e865b2a7a9e3cdefd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
FROM onap/base_sdc-jetty:1.6.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