blob: 9d8bbeaf1b2f72ca5a79ab0c8cb216f9901e442a [file] [log] [blame]
sheetalmed128902018-03-13 19:32:08 +05301FROM jetty:alpine
2
3EXPOSE 8080
4EXPOSE 8443
5EXPOSE 5005
6
7ARG ARTIFACT_VERSION
8
9# See https://hub.docker.com/_/jetty/
10ARG WEBAPPS_DIR=${JETTY_BASE}/webapps/
11
12COPY activity-spec-api-docs/target/activity-spec-api-docs-${ARTIFACT_VERSION}.war ${WEBAPPS_DIR}
13
14COPY activity-spec-war/target/activity-spec-war-${ARTIFACT_VERSION}.war ${WEBAPPS_DIR}
15
16COPY activity-spec-assembly/configuration.yaml .
17COPY activity-spec-assembly/start.sh .
18
19USER root
20
21RUN chown jetty:jetty start.sh
22RUN chmod 744 start.sh
23
24ENTRYPOINT ["./start.sh"]