blob: ae6826c74a706dce939cad4c5c92f002bd239683 [file] [log] [blame]
Stone, Avi (as206k)530230e2018-05-17 10:25:42 +03001FROM onap/base_sdc-jetty:1.2.0-SNAPSHOT-latest
2
3COPY chef-solo /var/opt/dcae-be/chef-solo/
4
5COPY startup.sh /var/opt/dcae-be/
6
7ADD target/dcae.war ${JETTY_BASE}/webapps/
8
9USER root
10
11COPY set_user.sh /tmp/set_user.sh
12
13RUN sh -x /tmp/set_user.sh && rm -f /tmp/set_user.sh
14
15RUN mkdir -p /opt/logs/be
16
17RUN chown -R jetty:jetty ${JETTY_BASE}/webapps /var/opt/dcae-be /opt/logs /var/lib/jetty
18
19RUN chmod 770 /var/opt/dcae-be/startup.sh
20
21EXPOSE 8082 8444
22
23USER jetty
24
25ENTRYPOINT [ "/var/opt/dcae-be/startup.sh" ]