summaryrefslogtreecommitdiffstats
path: root/sdc-os-chef/sdc-frontend/Dockerfile
blob: 2940a4328698e4446342208cd51f01b07c036ad7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
FROM openecomp/base_sdc-frontend:v1.0.0

COPY chef-solo /root/chef-solo/

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

RUN cp ${JETTY_HOME}/resources/log4j.properties ${JETTY_BASE}/resources/log4j.properties

ADD onboarding*.war         ${JETTY_BASE}/webapps/

ADD catalog-fe-*.war        ${JETTY_BASE}/webapps/

USER root

RUN chown -R jetty:jetty    ${JETTY_BASE}/webapps

COPY startup.sh /root/

RUN chmod 770 /root/startup.sh

ENTRYPOINT [ "/root/startup.sh" ]