summaryrefslogtreecommitdiffstats
path: root/sdc-workflow-designer-be/docker/Dockerfile
blob: 1aaf4b697d114bdc9fb40fcf3f6d0a8bed559684 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
FROM onap/integration-java11:7.1.0

EXPOSE 8080

USER root
ARG ARTIFACT

ADD --chown=onap:onap ${ARTIFACT} /app.jar

COPY --chown=onap:onap org.onap.sdc.p12 /keystore
COPY --chown=onap:onap org.onap.sdc.trust.jks /truststore

COPY --chown=onap:onap startup.sh .
RUN chmod 744 startup.sh
 
RUN mkdir /var/log/ONAP/
RUN chown onap:onap /var/log/ONAP/

USER onap
ENTRYPOINT [ "./startup.sh" ]