blob: adbde5e4415a592302bbc7565fc3bcc8daa06376 [file] [log] [blame]
priyanshudaf0dfe2018-05-28 15:29:26 +03001FROM jetty:9.4.9-alpine
2
3EXPOSE 8080
4EXPOSE 8443
5EXPOSE 5005
6
7USER root
8
9RUN mkdir -p /etc/onap/activity-spec/be
10RUN mkdir -p /var/log/ONAP/activity-spec/be
11
12ENV CONFIG_FILES_DIR /etc/onap/activity-spec/be
13ENV LOGS_DIR /var/log/ONAP/activity-spec/be
14
15ADD activity-spec-api-docs-*.war ${JETTY_BASE}/webapps/
16ADD activity-spec-war-*.war ${JETTY_BASE}/webapps/
17
18COPY start.sh .
19COPY logback.xml ${CONFIG_FILES_DIR}
20
21RUN chown -R jetty:jetty ${JETTY_BASE}/webapps
22RUN chmod 744 start.sh
23
24ENTRYPOINT [ "./start.sh" ]