summaryrefslogtreecommitdiffstats
path: root/workflow-designer-ui/docker/Dockerfile
blob: 58130888ac430bab2f43d55143cc710ac132a1b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
FROM jetty:9.4-jre8-alpine

EXPOSE 8080
EXPOSE 8443

USER root

ARG ARTIFACT

COPY org.onap.sdc.p12 org.onap.sdc.trust.jks ${JETTY_BASE}/etc/

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

COPY startup.sh .
RUN chmod 744 startup.sh

ENTRYPOINT [ "./startup.sh" ]