summaryrefslogtreecommitdiffstats
path: root/openecomp-be/dist/sdc-onboard-backend-docker/artifacts/Dockerfile
blob: e6a0dc1ec2e94ea6d22af2997d8532b1216f556e (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

COPY chef-solo /root/chef-solo/

COPY chef-repo/cookbooks /root/chef-solo/cookbooks/

ADD --chown=jetty:jetty onboarding-be-*.war    ${JETTY_BASE}/webapps/

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

USER root

COPY startup.sh /root/

RUN chmod 770 /root/startup.sh

ENTRYPOINT [ "/root/startup.sh" ]